In the following example, the ALLOCATE command is used to allocate
a new data set using the SMS classes. SMS must be active. The data
set can be VSAM or non-VSAM.
//ALLOC JOB ...
//STEP1 EXEC PGM=IDCAMS,DYNAMNBR=1
//SYSPRINT DD SYSOUT=A
//SYSIN DD *
ALLOC -
DSNAME(ALX.ALLOCATE.EXAMP1) -
NEW CATALOG -
DATACLAS(STANDARD) -
STORCLAS(FAST) -
MGMTCLAS(VSAM)
/*
The command parameters follow:
- DSNAME specifies the name of the data set being allocated is ALX.ALLOCATE.EXAMP1.
- NEW specifies the data set being allocated is new.