Chris,

Thanks for this. I had made it as far as the USS messages and codes but
having only book mgr and PDF versions available online I searched for
ages for various combinations of the reason and return codes.

When I get back to the office I'll print a copy - I think I would have
found the answer myself quite quickly with a paper copy.

Alan  

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Chris Mason
Sent: Friday, May 23, 2008 16:27
To: [email protected]
Subject: Re: Where do I find these reason codes?

Alan

You will need to combine *both* the EACCES return code, a general 
statement of the problem, with a specific "reason code" which - as I 
understand it - is a code returned by a lower level function. The
"reason code" 
explanation should refine the "return code" explanation. Note that 
the "reasons" listed in Brian's post are preceded by the word "include".
Thus 
there can be others including, I would suggest, having mistyped a name
which 
should be one of the names which shows up using the Display OMVS,PFS 
command.

Incidentally, a question involving there tricky UNIX System Services
"reason 
codes" crops up two or three times a month in the list. You might have
spent 
your time better searching the archives.

Apart from the subtle mistake mentioned by Brian and looking up the 
programming manual for possible reasons for the "return code" for the
specific 
routine name - which should - and probably is - replaced by the
explanation of 
the "reason code", I found all the codes in seconds. But then I happened
to 
know that the secrets of these "return" and "reason" codes were all
provided 
in the z/OS UNIX System Services Messages and Codes manual which, to
give 
credit where credit is due, is exactly where the explanation of
IGD17501I 
mentioned you should go and look.

Chris Mason

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to