SCF Reference Manual for G-Series RVUs (G06.24+)
SCF Commands
SCF Reference Manual for G-Series RVUs—520413-004
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 is a sensitive command.
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
The following 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 ]