T-DET

Detaches the specified tape unit from any process, except the Spooler process.

Command Class

TCL-I command.

Syntax

T-DET {tapeUnitNumber {(U}}

Syntax Elements

tapeUnitNumber Optional. The tape unit number. If omitted, all tape units attached to the current process are detached.

Options

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.

Examples

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.

See Also

ASSIGN, T-ATT, CLEAR-ASSIGN, T-UNLOAD.