RRSAF return codes and reason codes
If you specify return code and reason code parameters in an Resource Recovery Services attachment facility (RRSAF) function call, RRSAF returns the return code and reason code in those parameters. If you do not specify those parameters or implicitly invoke RRSAF, RRSAF puts the return code in register 15 and the reason code in register 0.
When the reason code begins with X'00F3', except for X'00F30006', you can use the RRSAF TRANSLATE function to obtain error message text that can be printed and displayed.
For SQL calls, RRSAF returns standard SQL return codes in the SQLCA. RRSAF returns IFI return codes and reason codes in the instrumentation facility communication area (IFCA).
The following table lists the RRSAF return codes.
Return code | Explanation |
---|---|
0 | The call completed successfully. |
4 | Status information is available. See the reason code for details. |
>4 | The call failed. See the reason code for details. |