The results of the documented behavior might be somewhat surprising for users of systems where the TSO user prefix is not the same as the RACF userid.

--

Regards, Gord Tomlin
Action Software International
(a division of Mazda Computer Corporation)
Tel: (905) 470-7113, Fax: (905) 470-6507

On 2012-09-15 05:45, Norbert Friemel wrote:

Quote from 
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/CBCPG1C0/2.9.1.1.1

"When you enclose a name in single quotation marks, the name is fully 
qualified. The file opened is the one specified by the name inside the quotation 
marks. If the name is not fully qualified, z/OS XL C/C++ does one of the following:

   -  If your system does not use RACF, z/OS XL C/C++ does not add a high-level 
qualifier to the name you specified.

   -  If you are running under TSO (batch or interactive), z/OS XL C/C++ appends the TSO user 
prefix to the front of the name. For example, the statement fopen("a.b","w"); 
opens a data set tsoid.A.B, where tsoid is the user prefix. If the name is fully qualified, z/OS XL 
C/C++ does not append a user prefix. You can set the user prefix by using the TSO PROFILE command 
with the PREFIX parameter.

   -  If you are running under z/OS batch or IMS (batch or online), z/OS XL C/C++ 
appends the RACF user ID to the front of the name."

Norbert Friemel

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to