This post shares sample JCL you need to read or browse the tape files in mainframe. You cannot browse tape files directly. So first you need to copy tape file to sequential file using IEBGENER utility, then you can read or browse the tape files.
Sample JCL.
//STEP01 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=A
//SYSUT1 DD DSN=J.TAPE.UST.A,
// DISP=SHR
//SYSUT2 DD DSN=PQHL.DASD.UST.A,
// DISP=(NEW,CATLG,DELETE),
// UNIT=TEST80,
// SPACE=(CYL(1000,1000),RLSE),
// DCB=*.SYSUT1
//SYSIN DD DUMMY
//*
Related Posts