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


Example 4: Copy Statement for JOBA and JOB STEPF

z/OS DFSMSdfp Utilities
SC23-6864-00

This example copies the JOB statement for JOBA, the job step STEPF, and all the steps that follow it. The input data set contains one job (JOBA), which includes STEPA through STEPL. Job steps STEPA through STEPE are not included in the output data set.
 //EDIT4    JOB  ...
 //STEP1    EXEC PGM=IEBEDIT
 //SYSPRINT DD  SYSOUT=A
 //SYSUT1   DD  DSNAME=INSTREAM,UNIT=disk,
 //             DISP=(OLD,KEEP),VOLUME=SER=111111
 //SYSUT2   DD  DSNAME=OUTSTREM,UNIT=disk,
 //             DISP=(,KEEP),VOLUME=SER=222222,SPACE=(TRK,2)
 //             DCB=(RECFM=FB,LRECL=80,BLKSIZE=24000),
 //SYSIN    DD  *
          EDIT  START=JOBA,TYPE=POSITION,STEPNAME=STEPF
 /*
The control statements are as follows:
  • SYSUT1 DD defines the input data set, INSTREAM. The data set resides on a disk volume (111111).
  • SYSUT2 DD defines the output data set, OUTSTREAM. The data set is to reside on a disk volume (222222). Two tracks are allocated for the output data set.
  • SYSIN DD defines the control data set, which follows in the input stream.
  • EDIT copies the JOB statement for JOBA and job steps STEPF through STEPL.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014