Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
CLOSE return and reason codes z/OS DFSMS Macro Instructions for Data Sets SC23-6852-02 |
|||||||||||||||||||||||||||||||||||||||||||
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 (see Table 1).
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 SHOWCB—Display fields of an access method control block. Table 2 gives the reason codes the ERROR field may contain following 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. For a description of messages, see z/OS MVS System Messages, Vol 6 (GOS-IEA). |
Copyright IBM Corporation 1990, 2014
|