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:
- When stand-alone dump ends prematurely and does not give the stand-alone
dump output (SYSUT1) an end-of-file, the SYSUT2 data set does contain
an end-of file.(SYSUT2 is the data set to which stand-alone
dump output is copied.) This occurs even when SYSUT2 is another tape.
IEBGENER might end with an I/O error on SYSUT1; this is normal if
SYSUT1 does not contain an end-of-file.
- Making SYSUT2 a direct access data set to use as input to IPCS
saves IPCS processing time.
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.