Hi,
The below step is being used in one of my jobs to copy a VSAM file to a PS file.
//STEP01 EXEC PGM=ICEMAN
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=INPUT FILE(VSAM file),DISP=SHR
//SORTOUT DD DSN=OUTPUT FILE(PS dataset),DISP=OLD
//SYSIN DD *
OPTION COPY
OUTFIL FNAMES=SORTOUT,VTOF,OUTREC=(5,300)
/*
Sometimes this step fails with the below error message -
VSAM INPUT ERROR L(156) SORTIN
To resolve this all I have to do is restart the job from this step after some time.
Can someone help me understand why this happens and what can be done to fix this permanently?
Thanks in advance.