Show z/OS UNIX reason code
To show the z/OS® UNIX reason code, add the following
variable setting to rsed.envvars
:
_EDC_ADD_ERRNO2=1
For more information, see the XL C/C++ Programming Guide (SC09-4765),
section about _EDC_ADD_ERRNO2. (Location: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/CBCPG190/4.12.2.7?SHELF=CBCBS190&DT=20080616063107
for z/OS 1.10)
When _EDC_ADD_ERRNO2
is set to 1, errno2
is
added to perror()
, strerror()
, and strerror_r()
messages.
Example:
+FEK117E socketpair() failed.
reason=(EDC5124I Too many open files. (errno2=0x050B0146))
Note:
_EDC_ADD_ERRNO2=1
is active by default
in rsed.envvars
in Developer for z/OS Version
8.0.1 and later.