One of our Job is abended in a sort step saying, Sort Capacity exceeded, below are the details from sysout of failed job
Code:
WER276B SYSDIAG= 2402249, 4848345, 4848345, 3146787
WER164B 23,424K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,
WER164B 128K BYTES RESERVE REQUESTED, 23,328K BYTES USED
WER146B 20K BYTES OF EMERGENCY SPACE ALLOCATED
WER108I SORTIN : RECFM=VB ; LRECL= 27008; BLKSIZE= 27998
WER110I SORTOUT : RECFM=VB ; LRECL= 27008; BLKSIZE= 27998
WER410B 22,396K BYTES OF VIRTUAL STORAGE AVAILABLE ABOVE THE 16MEG LINE,
WER410B 0 BYTES RESERVE REQUESTED, 22,396K BYTES USED
WER036B G=3201,B=3160,SEGLEN=5696,BIAS=98
WER162B 33,330 PREALLOCATED SORTWORK TRACKS, 225,000 DYNAMICALLY ALLOCATED,
WER162B 1,717,740 ACQUIRED IN 246 SECONDARY EXTENTS, 0 RELEASED, TOTAL OF 1,976,070 TRACKS USED
WER046A SORT CAPACITY EXCEEDED
WER055I INSERT 0, DELETE 0
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
WER066A APROX RCD CNT 29892008
I looked at what WER046A has to say in manuals, it says,
Quote:
SORT CAPACITY EXCEEDED EXPLANATION: All available intermediate storage is exhausted, including any secondary allocation allowed in this job set. Sort processing cannot continue.
ACTION: Supply more intermediate storage (see the SORTWK calculation formula) or use the MAXSORT technique.
ok, I'm working to convert to MAXSort application but the question which aries in mind is/are:
When I see the expanded JCL in JES JCL DD it tells me there were 12-sortwork files were used. In the JCL they have "hard-coded" 2 sort-work files but, probably , because of DYNALLOC was allowed 12 sort-work files were used. But when I look at default installation parmeters, it says,
that means, our sort jobs can be allowed to maximum of 32 sort-work files and four at a time. If so, why job could use only 12 sort-work files, it should have used 32!?
Any pointer will be highly appreciated, though i'm working with local-syncsort-representative, but due to time-zone difference i'm not able to follow them up with well...
Though i'm still working to have a permanent solution for the problem, however, have you some idea about this too. I'm trying to reach the SyncSort representative at my shop, however it's a long channel :
When I see the expanded JCL in JES JCL DD it tells me there were 12-sortwork files were used. In the JCL they have "hard-coded" 2 sort-work files but, probably , because of DYNALLOC was allowed 12 sort-work files were used. But when I look at default installation parmeters, it says,
that means, our sort jobs can be allowed to maximum of 32 sort-work files and four at a time. If so, why job could use only 12 sort-work files, it should have used 32!?
Please forward me your complete job listing, including the JES Log and messages, JCL, and SYSOUT. Feel free to send that to me at alissa.margulies@syncsort.com as a text attachment and I would be happy to further assist you.
In the meantime, you can try adding the following to the sort step in question:
Code:
//$ORTPARM DD *
DYNALLOC=(SYSDA,100,RETRY=(5,3))
Please let us know whether or not that addresses the issue.