IDCAMS JCL
To run IDCAMS, you have to supply an EXEC statement and the appropriate DD statements.
EXEC statement
The EXEC statement must be in the following form:
// EXEC PGM=IDCAMS
DD statements
The following table summarizes the DD statements.
DDNAME | Use | Format | Required or optional |
---|---|---|---|
SYSIN | Input | LRECL=80 | Required |
SYSPRINT | Output | SYSOUT | Required |
- SYSIN DD
- This input data set contains the Access Method Services control statements that delete the old area data sets and define VSAM clusters for the new ones. For additional information, see DFSMS Access Method Services for the Integrated Catalog Facility.
- SYSPRINT DD
- This output data set contains the messages produced by IDCAMS.
Example JCL stream is shown in the following figure.
//STEP3A EXEC PGM=IDCAMS,REGION=1024K
//*********************************************************
//** DELETE AND DEFINE AREA AND WORK DATA SET DATASETS **
//*********************************************************
//SYSPRINT DD SYSOUT=A
//SYSIN DD *,DCB=BLKSIZE=80
... control statements ...
/*