Device information services passes a return code and a reason code to the caller in registers 15 and 0 respectively. Return code 0 in register 15 indicates that device information services has completed successfully; in this case register 0 contains reason code 0. A nonzero return code indicates an error condition that caused termination before processing was complete.
As cited in the following table, a response code may be associated with a nonzero return code. The response code is passed back in an information return area pointed to by the device information services parameter list. This field is not normally accessible to you, because the call to device information services is normally by an internal system call.
Table 1 describes nonzero return codes and their reason codes and response codes if applicable.
Return Code | Description |
---|---|
4 (X'04') | Request was completed, but one or more entries
in the return area contain a nonzero response code.
The following values are the possible values of the response code:
Note: These response codes are bit-oriented.
A combination of bits indicate multiple errors.
|
8 (X'08') | Request could not be completed with the return
area provided. A RESUME may be used to continue from the last completed
UCB.
|
12 (X'0C') | Request could not be completed with the return
area provided and one or more entries in the return area contain a
nonzero response code. A RESUME may be used to continue from
the last completed UCB.
|
16 (X'10') | Caller provided an invalid parameter in the parameter
list.
|
20 (X'14') | An internal or system error is encountered. Register
0 contains more specific information about the error.
|
24 (X'18') | An error return code was received from common
filter service.
|
28 (X'1C') | An abend has occurred.
|
32 (X'20') | A nonzero return code is returned from IEFEB4UV.
|
36 (X'24') | An error is found in call to DEVTYPE.
|