Detaching a Tape or Floppy Disk Unit

The T-DET command detaches the currently attached tape unit from your process. Detaching the tape unit releases it from the exclusive control of your process and makes it available to other users. The tape unit remains selected, however.

If multiple tape units are attached to your process, T-DET detaches all of them.

If a selected tape unit is currently attached to another process, using T-DET with the U option detaches the tape unit from the other process and makes it available again. If the selected tape unit is one of a chained set, the entire set is detached.

NOTE

Do not detach a tape drive that is currently being used, and never hand-code a T-DET U into a program.

See Also

Using mvBase Tape Units