STEPCAT DD statement - IBM-JCL

Purpose
Use the STEPCAT DD statement to define a private VSAM or integrated catalog facility user catalog for the duration of a job step. The system searches the private catalog for data sets before it searches the master catalog or a private catalog associated with the first qualifier of a data set’s name.

Do not use the STEPCAT DD statement in a job step that references an SMS-managed data set. SMS only accesses SMS-managed data sets that are cataloged in a system catalog.

The system does not support the STEPCAT DD statement (or JOBCAT DD statement) for catalogs that have a unit control block (UCB) above the 16MB line.

You cannot specify OS CVOLs as STEPCAT. Access to an OS CVOL is possible only with a special CVOL pointer in the master catalog.

1.Syntax

//STEPCAT DD DISP={OLD},DSNAME=private-catalog-name[,parameter] ... [comments] {SHR}

2.Parameters on STEPCAT DD Statements
Do not specify any unit or volume information. The system obtains the location of the private catalog from the master catalog. Do not specify FREE=CLOSE; CLOSE is ignored.

3.Relationship to Other Control Statements

Concatenating Step Catalogs
To specify more than one private catalog for a step:

  • Code a STEPCAT DD statement.
  • Immediately follow this statement with DD statements that define other private catalogs. Omit a ddname from these subsequent DD statements.

Overriding a JOBCAT
To override a JOBCAT private catalog with the master catalog for a particular job step, code the following in the job step:

//STEPCAT DD DISP=OLD,DSNAME=master-catalog-name

4.Location in the JCL
Place a STEPCAT DD statement in any position among the DD statements for a step.

5.Example of the STEPCAT DD Statement

// EXEC PROC=SNZ12 //STEPCAT DD DSNAME=BETTGER,DISP=SHR

The STEPCAT DD statement specifies a private catalog that the system uses for this job step only.


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

IBM-JCL Topics