Allocates an MVS data set to the current user and defines the data set's DD name.
The following example allocates the existing data set TESTDATA.SORTED.DATA, with the DD name SYSUT1.
ALLOCATE FILE(SYSUT1) DATASET(TESTDATA.SORTED.DATA) OLD
Operands Support
The following operands are supported for
ALLOCATE:
BLKSIZE
|
DUMMY
|
SHR
|
BLOCK
|
FILE
|
SPACE
|
CYLINDERS
|
LIKE
|
SYSOUT
|
DATACLAS
|
LRECL
|
TRACKS
|
DATASET
|
MOD
|
TRTCH
|
DDNAME
|
NEW
|
USING
|
DIR
|
OLD
|
WRITER
|
DSNAME
|
RECFM
|
|
DSORG
|
REUSE
|
|
The following are parsed and ignored:
ACCODE
|
DEN
|
NOBURST
|
ALTFILE
|
DEST
|
OPTCD
|
ATTRLIST
|
EROPT
|
OUTPUT
|
BFALN
|
EXPDT
|
PARALLEL
|
BFTEK
|
FCB
|
POSITION
|
BUFL
|
FLASH
|
RELEASE
|
BUFNO
|
FORMS
|
RETPD
|
BUFOFF
|
INPUT
|
ROUND
|
BURST
|
KEEP
|
UCS
|
CATALOG
|
KEYLEN
|
UNCATALOG
|
CHARS
|
LABEL
|
UNIT
|
COPIES
|
LIMCT
|
VOLUME
|
DELETE
|
NCP
|
VSEQ
|