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


Example 4: Compare Sequential Data Sets—Input Stream and Tape Input

z/OS DFSMSdfp Utilities
SC23-6864-00

In this example, two sequential data sets (input stream and tape) are compared.
  //CARDTAPE JOB  ...
  //         EXEC PGM=IEBCOMPR
  //SYSPRINT DD  SYSOUT=A
  //SYSIN    DD  DUMMY
  //SYSUT2   DD  UNIT=tape,VOLUME=SER=001234,LABEL=(,NL),
  //             DCB=(RECFM=FB,LRECL=80,BLKSIZE=2000),
  //             DISP=(OLD,KEEP)
  //SYSUT1   DD  DATA
 
  (input data set)
 
  /*
The control statements are discussed, as follows::
  • SYSIN DD defines a dummy control data set. Because no user routines are provided and the input data sets are sequential, utility control statements are not necessary.
  • SYSUT2 DD defines an input data set, which resides on an unlabeled, tape volume.
  • SYSUT1 DD defines a system input stream data set.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014