z/OS DFSMSdfp Utilities
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example 3: Include Step from One Job, Exclude Step from Another

z/OS DFSMSdfp Utilities
SC23-6864-00

This example includes a job step from one job and excludes a job step from another job. The input data set contains three jobs: JOBA, which includes STEPA, STEPB, STEPC, and STEPD; JOBB, which includes STEPE, STEPF, and STEPG; and JOBC, which includes STEPH and STEPJ.
 //EDIT3    JOB  ...
 //STEP1    EXEC PGM=IEBEDIT
 //SYSPRINT DD  SYSOUT=A
 //SYSUT1   DD  DSNAME=INSET,UNIT=disk,DISP=(OLD,KEEP),
 //             VOLUME=SER=111111
 //SYSUT2   DD  DSNAME=OUTTAPE,UNIT=tape,LABEL=(,NL),
 //             DCB=(DEN=2,RECFM=FB,LRECL=80,BLKSIZE=8160),
 //             DISP=(,KEEP)
 //SYSIN    DD  *
        EDIT    START=JOBB,TYPE=INCLUDE,STEPNAME=(STEPF-STEPG)
        EDIT    START=JOBC,TYPE=EXCLUDE,STEPNAME=STEPJ
 /*

The control statements are as follows:

  • SYSUT1 DD defines the input data set, INSET. The data set resides on a disk volume (111111).
  • SYSUT2 DD defines the output data set, OUTTAPE. The data set is to reside as the first or only data set on an unlabeled (800 bits per inch) tape volume.
  • SYSIN DD defines the control data set, which follows in the input stream.
  • The EDIT statements copy JOB statements and job steps as follows:
    1. The JOB statement and steps STEPF and STEPG for JOBB.
    2. The JOB statement and STEPH, excluding STEPJ, for JOBC.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014