I am getting ABEND S0C4 while executing the below JCL:
//GRENAME JOB (TPSA),'RENAME DATASET',
// MSGLEVEL=(1,1),MSGCLASS=H,
// CLASS=H,NOTIFY=PATSUR
//STEP00 EXEC PGM=EZACFSM1
//SYSOUT DD SYSOUT=(*,INTRDR)
//SYSIN DD DATA,DLM=@@
//CURDATE1 JOB (TPSA),'SURAJE DATASET',MSGLEVEL=(1,1),MSGCLASS=H,
// CLASS=H,NOTIFY=PATSUR
//S10 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
ALTER 'TOP1.PPS30706.TEST1' -
NEWNAME('TOP1.PPS30706.D&YR2&MON&DAY')
/*
//PSSRTS15 EXEC PGM=SORT
//SORTJNF1 DD DISP=SHR,
// DSN=TOP1.PPS30706.D&YR2&MON&DAY
//SORTJNF2 DD DISP=SHR,
// DSN=TOP1.PPS30706.TEST2
//SORTOUT DD DSN=TOP1.PPS30706.DUP,
// DISP=(NEW,CATLG,DELETE),
// DCB=*.SORTJNF2,
// SPACE=(CYL,(500,100),RLSE),UNIT=SYSDA
//SORTWK01 DD UNIT=SYSDA,
// SPACE=(CYL,(500,100),RLSE)
//SORTWK02 DD UNIT=SYSDA,
// SPACE=(CYL,(500,100),RLSE)
//SORTWK03 DD UNIT=SYSDA,
// SPACE=(CYL,(500,100),RLSE)
//SORTWK04 DD UNIT=SYSDA,
// SPACE=(CYL,(500,100),RLSE)
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
SORT FIELDS=COPY
JOINKEYS FILE=F1,FIELDS=(01,12,A,46,1,A,144,16,A)
JOINKEYS FILE=F2,FIELDS=(01,12,A,46,1,A,144,16,A)
REFORMAT FIELDS=(F1:1,680)
/*
@@
// MSGLEVEL=(1,1),MSGCLASS=H,
// CLASS=H,NOTIFY=PATSUR
//STEP00 EXEC PGM=EZACFSM1
//SYSOUT DD SYSOUT=(*,INTRDR)
//SYSIN DD DATA,DLM=@@
//CURDATE1 JOB (TPSA),'SURAJE DATASET',MSGLEVEL=(1,1),MSGCLASS=H,
// CLASS=H,NOTIFY=PATSUR
//S10 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
ALTER 'TOP1.PPS30706.TEST1' -
NEWNAME('TOP1.PPS30706.D&YR2&MON&DAY')
/*
//PSSRTS15 EXEC PGM=SORT
//SORTJNF1 DD DISP=SHR,
// DSN=TOP1.PPS30706.D&YR2&MON&DAY
//SORTJNF2 DD DISP=SHR,
// DSN=TOP1.PPS30706.TEST2
//SORTOUT DD DSN=TOP1.PPS30706.DUP,
// DISP=(NEW,CATLG,DELETE),
// DCB=*.SORTJNF2,
// SPACE=(CYL,(500,100),RLSE),UNIT=SYSDA
//SORTWK01 DD UNIT=SYSDA,
// SPACE=(CYL,(500,100),RLSE)
//SORTWK02 DD UNIT=SYSDA,
// SPACE=(CYL,(500,100),RLSE)
//SORTWK03 DD UNIT=SYSDA,
// SPACE=(CYL,(500,100),RLSE)
//SORTWK04 DD UNIT=SYSDA,
// SPACE=(CYL,(500,100),RLSE)
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
SORT FIELDS=COPY
JOINKEYS FILE=F1,FIELDS=(01,12,A,46,1,A,144,16,A)
JOINKEYS FILE=F2,FIELDS=(01,12,A,46,1,A,144,16,A)
REFORMAT FIELDS=(F1:1,680)
/*
@@
while executing the job CURDATE1 alone its working file...while submitting as a whole it giving SOC4 abend.
Please advice something and help me with this.
Code'd