Been through that section of the PG half a dozen times. I see no references at all to prepending userids. I come down in the flowchart to "z/OS XL C/C++ opens an OS file."
Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Sam Siegel Sent: Friday, September 14, 2012 9:49 PM To: [email protected] Subject: Re: C and LE -- when prepend userid on file names? On Fri, Sep 14, 2012 at 5:02 PM, Charles Mills <[email protected]> wrote: > No doubt this is wonderfully documented somewhere but I am sitting > here tearing my hair out. > > I have a C++ *batch* program that I could not get to open a > conventional z/OS dataset by name to save my life until I finally > figured out it was prepending my userid onto the specified name a la TSO. > > If I have encountered this behavior before and/or how to turn it on > and off I have forgotten. It sure does not jump out at me from the manuals. > > IBM LE C running in batch: what determines whether it prepends your > userid onto a conventional z/OS dataset name? > Look in the C/C++ programming guide in the chapter (5 i think) called opening files, sub chapter title 'How z/OS XL C/C++ determines what kind of file to open' Sam ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
