Detaches the specified tape unit from any process, except the Spooler process.
TCL-I command.
T-DET {tapeUnitNumber {(U}}
tapeUnitNumber Optional. The tape unit number. If omitted, all tape units attached to the current process are detached.
U Detaches a specified tape unit from any process (except the Spooler), if not in use, and logs off the user. SYS2 privileges required.
Caution
Use the U option with care as it logs off the process assigned to the tape unit.
T-DET 1
Detaches tape unit 1 from the current port.
T-DET 3 (U
Detaches tape unit 3 if it is not being used and logs the user off.