HP OpenVMS Systems Documentation | 
	
HP OpenVMS DCL Dictionary
 DEALLOCATE
 Makes an allocated device available to other processes (but does not deassign any logical name associated with the device). DEALLOCATE does not deallocate devices that are in use. FormatDEALLOCATE device-name[:] Parameter
 Qualifier
 
 | 
| #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.
| Previous | Next | Contents | Index |