blob: 66d3353fa348d35d471da359f29934350275d637 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
.help allocate Jan86 system
.ih
NAME
allocate -- allocate a device
.ih
USAGE
allocate device
.ih
PARAMETERS
.ls device
The device to be allocated.
.le
.ih
DESCRIPTION
\fBAllocate\fR allocates a device for exclusive access by one user, and
readies the device for i/o by some other program. A list of the devices
available on the local system is maintained in the file \fBdev$tapecap\fR
which needs to be configured by the site manager before it can be used.
The status of given device may be obtained by calling \fIdevstatus\fR.
.ih
EXAMPLES
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.
\fBNote\fR: The dev$devices file should be configured by the site manager
when new tape devices are installed. Beginning with V2.9 it is used for
informational purposes only.
.ks
.nf
cl> type dev$devices
mta ...
mtb ...
mtc ...
iis ...
.fi
.ke
2. Allocate a tape drive after checking its status.
.ks
.nf
cl> devstatus mtb
device mtb is not currently allocated
cl>
cl> allocate mtb
.fi
.ke
.ih
SEE ALSO
deallocate, devstatus
.endhelp
|