allocate device
device
The device to be allocated.
Allocate allocates a device for exclusive access by one user, and readies the device for i/o by some other program. Examples of allocatable devices are magtapes and image displays. A list of the devices available on the local system is maintained in the file dev$devices. The status of given device may be obtained by calling devstatus.
1. Print a list of the allocatable devices. The logical device names are given at the left in the output text; ignore the information to the right.
.ks
cl> type dev$devices mta ... mtb ... mtc ... iis ....ke
2. Allocate a tape drive after checking its status.
.ks
cl> devstatus mtb device mtb is not currently allocated cl> cl> allocate mtb.ke