The ALLOCATE command lets you dynamically allocate a data set or path.
ALLOCATE DDNAME=ddname [,DUMMY] [,DSNAME=dsname] [,MEMBER=member] [,GDG=name] [,MEMBER=member] [,GDREL#=relID] [,PATH=path] [,SYSOUT=sysout] [,DEST=destination] [,VOLUME=volID] [,UNIT=name] [,OPTIONS=option]
Parameters
DDNAME to be used by the allocation.
(Optional ) Keyword for “dummy” allocation.
Keywords DSNAME=, GDG=, PATH= and SYSOUT= are not applicable.
(Optional) Data set name of the library to be allocated.
The DSNAME= keyword is mutually exclusive with keywords GDG=, PATH= and SYSOUT=.
(Optional) Keyword to specify the MEMBER of a PDS(E).
Only valid if DSNAME= is specified.
(Optional) Data set name of the GDG to be allocated.
The GDG= keyword is mutually exclusive with keywords DSNAME=, PATH= and SYSOUT=.
(Optional) Keyword to specify the relative generation. Only valid if GDG= is specified.
If the relative generation is not specified, MVS allocates the concatenated set of GDG data sets.
If GDGREL#= is specified, it must be “+0” or “-nnn” (for example, “-2”).
(Optional) Path name of the library to be allocated.
The PATH= keyword is mutually exclusive with keywords DSNAME=, GDG= and SYSOUT=. To preserve the case of the string, enclose the path name in single quotes.
(Optional) Indicates a SYSOUT data set is to be allocated.
If specified, use:
SYSOUT=(class,<,writer,form>)
For example, SYSOUT=(X) allocates a class “X” sysyout data set. The class is required. The SYSOUT= keyword is mutually exclusive with keywords DSNAME=, GDG= and PATH=.
(Optional) 1- to 8-character DEST.
Only valid if SYSOUT= is specified.
(Optional) 1- to 6-character volume serial of the data set being allocated.
Only valid if DSNAME= is specified.
(Optional) 1- to 8-character unit name of the data set being allocated.
Only valid if DSNAME= is specified.
(Optional) Indicates options for the allocation.
If specified, use:
OPTIONS=(option,option,…)
If multiple specifications affect a setting, the last specification is the one used.
By default, the allocation does not let data set be migrated back.
By default, the allocation lets a mount take place.
By default, flags S99ACUCB, S99DSABA, and S99TIOEX are off. Use this option to turn them on.
Formal option to assert that XATTR is not to be in effect.
Copyright © 2014 CA Technologies.
All rights reserved.
|
|