Use these statements to detach tape devices.
Format
DETACH devunit THEN/ELSE ... |
Parameter(s)
devunit |
Tape device and unit the user requires. |
Description
The ELSE clause is taken if the required DETACH was not successfully completed. In such a case, SYSTEM(0) provides the reason for failure as follows:
Invalid tape type specified.
No such tape device/unit configured.
Tape not attached, therefore may not be detached.
Someone else is using this device/unit.
See Also