VSAM OPEN/CLOSE/End-of-Volume return and reason codes

VSAM O/C/E macros return to their caller return codes set in register 15 and reason codes set in the access method control block (ACB) ACBERFLG field (1 byte at ACB + X'31'). VSAM macro return codes and reason codes are in z/OS DFSMS Macro Instructions for Data Sets.