In this example, two sequential data sets that reside on 9-track
tape volumes are compared.
//TAPETAPE JOB ...
// EXEC PGM=IEBCOMPR
//SYSPRINT DD SYSOUT=A
//SYSUT1 DD DSNAME=SET1,UNIT=tape,LABEL=(,NL),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=2000),
// DISP=(OLD,KEEP),VOLUME=SER=001234
//SYSUT2 DD DSNAME=SET2,UNIT=tape,LABEL=(,NL),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=1040),
// DISP=(OLD,KEEP),VOLUME=SER=001235
//SYSIN DD DUMMY
/*
The job control statements are discussed, as follows:
- SYSUT1 DD defines an input data set (SET1), which resides on an
unlabeled 9-track tape volume.
- SYSUT2 DD defines an input data set (SET2), which resides on an
unlabeled 9-track tape volume.
- SYSIN DD defines a dummy data set. Because no user routines are
used and the input data sets have a sequential organization, utility
control statements are not necessary.