I'm trying to run a JCL having 15 syncsort steps(most of them use join keys).
First 12 steps are running fine and the jcl is getting abended at 13th step.
If i restart the JCL from this 13th step, it runs fine.
I'm not getting what exactly the issue is. JNF1SNAP is getting generated for the step13.
Here, I'm pasting SYSOUT of 13th step.
SYNCSORT FOR Z/OS 220.127.116.11R U.S. PATENTS: TTTTTTT, GGGGGGGG (C) 2010 SYNCSO
XZZZZYYYY SYSTEM z/OS 1.12.0
SYNCSORT LICENSED FOR CPU SERIAL NUMBER XXXXX, MODEL YYYY YYYY LICEN
WER276B SYSDIAG= 1010837, 1540244, 1540244, 875625
WER164B 5,732K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,
WER164B 128K BYTES RESERVE REQUESTED, 1,190,672 BYTES USED
WER146B 20K BYTES OF EMERGENCY SPACE ALLOCATED
WER481I JOINKEYS REFORMAT RECORD LENGTH= 80, TYPE = F
WER110I SORTOUT : RECFM=FB ; LRECL= 80; BLKSIZE= 27920
WER074I SORTOUT : DSNAME=SYS13197.T065725.RA000.$USERID.TEMP1.H0E
WER410B 4,576K BYTES OF VIRTUAL STORAGE AVAILABLE ABOVE THE 16MEG LINE,
WER410B 0 BYTES RESERVE REQUESTED, 160K BYTES USED
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
WER482I JNF1 STATISTICS
WER483B 2,548K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,
WER483B 0 BYTES RESERVE REQUESTED, 1,000K BYTES USED
WER108I SORTJNF1 : RECFM=FB ; LRECL= 100; BLKSIZE= 27900
WER073I SORTJNF1 : DSNAME=FILE1.WS1
WER482I JNF2 STATISTICS
WER108I SORTJNF2 : RECFM=FB ; LRECL= 240; BLKSIZE= 27840
WER073I SORTJNF2 : DSNAME=FILE2.WS1
WER416B SORTJNF2 : EXCP'S=1,UNIT=3390,DEV=BD34,CHP=(4041424344454647,1),VOL=SL
WER416B TOTAL OF 1 EXCP'S ISSUED FOR SORTING
WER487I FILESIZE 3,360 BYTES
I'm not sure where the error lies. but the thing is that 13th step is generating SORTSNAP ( here it is JNF1SNAP) and the steps following 13th step are not getting executed as 13th setp is getting abended
I think it is related to Virtual space or something. When i removed 13th step from the JCL and retained other steps, Then JCL is giving same abend and JNF1SNAP at next step( 14th step in old JCL).
Is it something due to insufficent Virtual space? Is there any way to release such space allocated for previous steps in the JCL?
Joined: 22 Apr 2006 Posts: 6258 Location: Mumbai, India
With what you've posted it's tough to see what is wrong with your Job, as Dick says U0016 is a generic abend with SyncSort and can come for many reasons - however, from the SYSOUT you posted first, you get WER416B, that's why I've suggested you to use SORTWORK files which can be a vague suggestion, as I can not recreate your scenario at my end. OTOH, the other suggestion of using a higher value of REGION on EXEC for step13 but then it's again an assumption.
I have tried the job/step by giving Region=0M also. But still I am facing the issue.
As Dick suggested, I tried to look for the abend U0016 on google. I tried all the ways mentioned there. It was suggested to use Region=0M, giving SORTWKxx/JNF1WKxx files etc. But still same problem.
If I restart the job from Step 13, it runs fine. SYSOUT is also not giving any clue as i had pasted the complete SYSOUT here and no information regarding the abend is given there.