Previous Topic: ExamplesNext Topic: When STAM is Not Active


DRAIN Command

[Authorization: OPERATOR]

Use the DRAIN command to make a tape drive temporarily unavailable for allocation.

You might use this command to make drives unavailable when they are being repaired.

When you drain a drive on which a mount is in progress, CA VM:Tape drains the drive, detaches it, and selects another drive on which to continue the mount. When you drain a drive that is currently in use, CA VM:Tape does not detach the tape drive from the user ID that is using it; CA VM:Tape drains the drive after the user ID detaches it.

Use the START command to make drained tape drives available to CA VM:Tape again or to cancel a DRAIN command that has not completed because the drive was attached to a user ID.

The DRAIN command's syntax depends on whether STAM is active.

Note: For information about STAM, see the Administration Guide.