z/OS DFSMShsm Managing Your Own Data
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Return codes from user macros

z/OS DFSMShsm Managing Your Own Data
SC23-6870-00

Programming interface information

When using the user macros, DFSMShsm sets a return code in register 15 that indicates the result of processing the request. In most cases, the return codes correspond to the message number that DFSMShsm issues to provide an explanation when the request fails. If there is a reason code associated with the failure, it is returned in register 0.

Table 1 lists the return codes that are placed in register 15 upon completion of the invocation of the macro.
Table 1. User Macros Return Codes
Retcode Meaning
0 Function is successful
100 DFSMShsm is not running or the request could not be communicated to DFSMShsm
400 Invalid request ID
401 Attempt to free a MWE for an incomplete function (applies to ARCFMWE only)
402 Data set locate failure (applies to ARCHRCAL and ARCHMIG only)
403 Data set name specified was * or blank
404 The date specified with ARCHRCOV has format yyddd, but the system date is later than 1999
407 An internal error occurs with the ARCHBACK command.
806 Link error
Any other nonzero Function fails
End of programming interface information

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014