HELP DEALLOCATE — VMS 5.5-2H4
Makes an allocated device available to other processes (but does
not deassign any logical name associated with the device).
Format
DEALLOCATE device-name[:]
Additional information available:
PARAMETER
device-name[:] Name of the device to be deallocated. The device name can be a physical device name or a logical name. On a physical device name, the controller defaults to A and the unit to 0. This parameter is incompatible with the /ALL qualifier.
QUALIFIER
Additional information available:
/ALL
Deallocates all devices currently allocated by your process. This qualifier is incompatible with the device-name parameter.
Examples
1. $ DEALLOCATE DMB1:
In this example, the DEALLOCATE command deallocates unit 1 of the
RK06/RK07 devices on controller B.
2. $ ALLOCATE MT: TAPE
%DCL-I-ALLOC, _MTB1: allocated
.
.
.
$ DEALLOCATE TAPE:
In this example, the ALLOCATE command requests that any
magnetic tape drive be allocated and assigns the logical
name TAPE to the device. The response to the ALLOCATE command
indicates the successful allocation of the device MTB1. The
DEALLOCATE command specifies the logical name TAPE to release
the tape drive.
3. $ DEALLOCATE/ALL
In this example, the DEALLOCATE command deallocates all devices
that are currently allocated.