z/OS DFSMSdfp Advanced Services
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


DEVTYPE—Return Codes and Reason Codes

z/OS DFSMSdfp Advanced Services
SC23-6861-01

Control is returned to your program at the next executable instruction following the DEVTYPE macro instruction. Register 15 contains a return code from the DEVTYPE macro, and register 0 contains the reason code. Registers 2 to 14 contents are unchanged. Register 1 contents are unpredictable. The return codes and their meanings are as follows:

Return Code Meaning
0 (X'00') Information has been successfully stored in your work area.
Reason Code
Meaning
0 (X'00')
All the information is available.
4 (X'04')
DEVTYPE did not recognize one or more INFO parameter codes. DEVTYPE cleared the appropriate amount of the return area and processed the rest of the INFO codes.
4 (X'04') Invocation error.
Reason Code
Meaning
4 (X'04')
DD name not defined.
8 (X'08')
Parameter list not valid. The error might be version code, length, zero field, or return area is not large enough. DEVTYPE does not do a complete UCB check in the current release. The UCB address might not be valid because the correct value was not coded for the third value of the UCBLIST parameter.
8 (X'08') Unsupported device class.
Reason Code
Meaning
12 (X'0C')
DEVTYPE does not support the device class. It must be DASD, tape, subsystem (including spooled), unit record, TSO terminal, dummy, communications, graphics or channel-to-channel adapter. If UCBLIST was coded, then DEVTYPE has ignored the rest of the list.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014