Copying from tape

The example below shows how to use IEBGENER to copy tape output to DASD. Two advantages of copying stand-alone dump tape output to DASD are:

Use the JCL shown in Figure 1 to invoke the IEBGENER utility, which will copy the stand-alone dump output from tape to a DASD data set.

Figure 1. Example: Copying stand-alone dump output from tape to DASD
//SADCOPY  JOB  MSGLEVEL=(1,1)
//COPY     EXEC PGM=IEBGENER
//SYSPRINT DD   SYSOUT=A
//SYSIN    DD   DUMMY
//SYSUT1   DD   DSN=SADUMP.TAPE,UNIT=tape,
//         VOL=SER=SADOUT,LABEL=(,NL),DISP=SHR,
//         DCB=(RECFM=FBS,LRECL=4160,BLKSIZE=29120)
//SYSUT2   DD   DSN=SADUMP.COPY,UNIT=dasd,
//         VOL=SER=SADCPY,DISP=(NEW,CATLG),
//         DCB=(RECFM=FBS,LRECL=4160,DSORG=PS),AVGREC=K,
//         SPACE=(4160,(8,4),RLSE)
Note: Specifying AVGREC= requires SMS be running, but the data set does not have to be SMS managed.