The error reason is actually 0B7F1C00, it's the C/C++ library functions being called from within copytree command (like printf, fprint, etc) that drop leading zeroes. I've seen it many times in error messages from z/UNIX commands . It is fixable in C/C++ code, but the programmer needs to count the number of digits to be output and manually add their own leading zeros. Not many can be bothered.
Ant. -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Tony Harminc Sent: Friday, 22 April 2016 2:09 AM To: [email protected] Subject: Re: New to RACF On 21 April 2016 at 12:01, Tracy Adams <[email protected]> wrote: > seteuid 0 > Error codes: 0 -1 A4 B7F1C00 > EMVSSAF2ERR: SAF/RACF error > > Dubious nothing has changed in the RACF world and this use to work. The only > thing I can find is that the userid needs acc(read) to bpx.superuser which it > does. Where do I begin to debug this RACF error? Are you sure the line with the error codes was copied accurately? I would expect the last piece to have 8 hex digits; it's the errno2 value. The A4 (EMVSSAF2ERR) is saying it's a RACF error encountered by the UNIX seteuid() service. The last two bytes (4 digits) of that 8 character hex string should be the RACF return and reason codes from the RACF IRRSEU00 callable service, described in the RACF Callable Services book. If it's really coming out as 7 digits, then I'd call IBM and complain. If it got mangled or typo'd, then look up the corrected version in the Callable Services book and see if that leads you further. All this seems to have to do with authorization to change the effective UID. Tony H. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
