The unit table contains the unit name as shown in the following
figure.
Figure 1. Output from Function Code 2 (Return Unit Name)
Register 15 contains one of the following return codes:
- Code
- Meaning
- 0
- The unit table contains the EBCDIC unit name.
- 4
- The look-up value could not be found in the EDT.
- 24
- The JESCT does not contain valid pointers.
- 28
- The required input is not specified or is not valid.
- 36
- An empty UCB list is being returned.