VSAM record management return and reason codes

VSAM provides return codes and reason codes to indicate the results of macro calls.

The return codes listed in this section are also applicable when RLS is active.

Return codes from Record Management (Request) Macros are set in register 15; reason codes are set in the RPL RPLFDBWD.

VSAM control block manipulation macros set return codes in registers 15 and 0.

Return codes and reason codes from VSAM macros can also be found in z/OS DFSMS Macro Instructions for Data Sets.