SCF Reference Manual for J-Series and H-Series RVUs

SCF Commands
SCF Reference Manual for J-Series and H-Series RVUs529649-003
5-25
ALLOCATE Command
ALLOCATE Command
The ALLOCATE command allocates (reserves) space for an object. For instance,
allocating a file reserves space on the disk for the file. The specified object must
already be defined either explicitly, using the ADD command, or implicitly.
This command is sensitive..
OUT
file-spec
causes any SCF output generated for this command to be directed to the specified
file. The variable
file-spec
is defined on page 5-9.
object-spec
designates the object for which space is allocated. The variable
object-spec
is
defined on page 5-2. You can omit
object-spec
if it has been assumed. (See
ASSUME Command on page 5-36.)
SUB [
subobjtype
]
selects the subordinate objects the command affects. The variable
subobjtype
can be a subordinate object type or one of the keywords ONLY, ALL, or NONE, as
explained under SCF Subdevices on page 3-5.
SEL [ NOT ]
state
directs the command only at objects in the specified state or only at those not in
the specified state. Valid states are listed in Table 3-1 on page 3-7. The use of
this option is subsystem-specific.
Example
This command allocates space for a FILE object named $VOL.SUBVOL.URFILE:
-> ALLOCATE FILE $VOL.SUBVOL.URFILE
ALLOCATE [ /OUT
file-spec
/ ] [
object-spec
]
[ , SUB [
subobjtype
] ] [ , SEL [ NOT ]
state
]