Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
CLOSE return and reason codes z/OS DFSMStvs Administration Guide GC52-1388-00 |
|||||||||||||||||||||||||||||||||||||||||
When your program receives control after it has issued a CLOSE macro, a return code in register 15 indicates whether all VSAM data sets were closed successfully, as Table 1 shows.
If register 15 contains 4, use SHOWCB to display the ERROR field in each access method control block to determine if a VSAM data set was not closed successfully and the reason it was not. See z/OS DFSMS Macro Instructions for Data Sets. Table 2 lists the reason codes that the ERROR field might contain after close processing.
In addition to these reason codes, VSAM writes a message to the operator's console and the programmer's listing further explaining the error. |
Copyright IBM Corporation 1990, 2014
|