I have a tape file(MP.PMPYCRH0.KEEP2005), I need to check the last 500 records. so I want move it to disk.
how to modify my following JCL to meet the requirment? thx.
//TAPECOPA JOB (31490),'DDE',
// CLASS=T,MSGCLASS=X,
// REGION=8M
//*
/*JOBPARM ROOM=1107,LINES=999,TIME=9,COPIES=1
//*---------------------------------------------
//* DELETE STEP
//*---------------------------------------------
//SCRATCH EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE ('MP.UMP8CSMW.LIAN')
/*
//STEP1 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//*----------------------------------------------
//* TAPE FILE
//*----------------------------------------------
//SYSUT1 DD DSN=MP.PMPYCRH0.KEEP2005,
//* VOL=SER=(3T1276),
// UNIT=TAPE,DISP=OLD
//*----------------------------------------------
//* DISK FILE
//*----------------------------------------------
//SYSUT2 DD DSN=MP.UMP8CSMW.Leon,
// UNIT=SYSDA,
//* UNIT=TAPE,
// DISP=(NEW,CATLG,CATLG),
// SPACE=(CYL,(500,200),RLSE)
//*
//SYSIN DD DUMMY
/*
//