Return and reason codes for the CSFDUTIL program

When you invoke the CSFDUTIL program as a batch job, you receive the return code in a message when the job completes. The meanings of the return codes are:
Return Code
Meaning
0
Processing completed successful.
4
Parameters are incorrect.
8
RACF authorization check failed.
12
Processing unsuccessful. Additional messages issued.
16
Processing unsuccessful. Additionally, there was an error issuing diagnostic messages.
20
An ABEND occurred.

When the program is invoked from another program, the invoking program receives the reason code in General Register 0 along with the return code in General Register 15. The meaning of the reason codes are as follows:

Return code 0 has this reason code:
Reason Code
Meaning
0
Processing completed successfully.
Return code 4 has this reason code:
Reason Code
Meaning
32
There was an error in the options provided. See the output for details.
Return code 8 has this reason code:
Reason Code
Meaning
1600
Invoker has insufficient RACF access authority to use this service.
Return code 12 has these reason codes:
Reason Code
Meaning
6016
An IO error has occurred. See the output for details.
6028
There was an error establishing an ESTAE.
6032
There was a error allocating a data set or DD. See the output for details.
6036
There was an error deallocating a data set or DD. See the output for details.
36211
A request was made to load a key data set (CKDS, PKDS or TKDS)which has records which are in KDSR format. This level of ICSF does not support KDSR format records

Return code 16 has the same reason code as return code 12, but indicates that an error occurred in writing to the output in addition to the initial error.

Return code 20 has this reason code:
Reason Code
Meaning
4
An abnormal ending occurred. Contact your system programmer or the IBM Support Center.