Joined: 14 Mar 2007 Posts: 8657 Location: Back in jolly old England
As a last resort, and many many years ago - I have allocated six TAPE SORTWKnn statements. And that really is a last resort as the elapsed time rises very sharply, but at least it got the job done.
I have tried using that also.. missed to copy that particular JCL. Irrespective of work files i have used, i am getting SORT CAPACITY EXCEEDED message. Also I could see the message like
Code:
912 IGD17272I VOLUME SELECTION HAS FAILED FOR INSUFFICIENT SPACE FOR 708
DATA SET SYS09093.T052920.RA000.JOB1A1WC.R0131395
JOBNAME (JOB1A1WC) STEPNAME (R010 )
PROGNAME (SORT ) DDNAME (JNF1WK45)
REQUESTED SPACE QUANTITY = 41501 KB
STORCLAS (SCVIOTST) MGMTCLAS ( ) DATACLAS ( )
STORGRPS (TPUBLIC SGVIO )
912 IKJ56893I FILE JNF1WK45 NOT ALLOCATED+
This shows that i dont have enough space in my intermediate volume?
Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
Hello,
You need to post the complete jcl and sort control statements that you are currently using as well as any diagnostics generated by running that jcl amd sort control info.
Why is the dynalloc parameter used, or is it simply always used on your system?
I have tried using that also.. missed to copy that particular JCL. Irrespective of work files i have used, i am getting SORT CAPACITY EXCEEDED message. Also I could see the message like
Code:
912 IGD17272I VOLUME SELECTION HAS FAILED FOR INSUFFICIENT SPACE FOR 708
DATA SET SYS09093.T052920.RA000.JOB1A1WC.R0131395
JOBNAME (JOB1A1WC) STEPNAME (R010 )
PROGNAME (SORT ) DDNAME (JNF1WK45)
REQUESTED SPACE QUANTITY = 41501 KB
STORCLAS (SCVIOTST) MGMTCLAS ( ) DATACLAS ( )
STORGRPS (TPUBLIC SGVIO )
912 IKJ56893I FILE JNF1WK45 NOT ALLOCATED+
This shows that i dont have enough space in my intermediate volume?
How does the above message relate to SORT Capacity exceeded ?
You've allocated 23 SORKWKnn files, each having 1000 cylinders as primary quantity. This space should be enough.
Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
Hi Anand,
You have asked for more than 2 complete 3390 devices for sortwk. You need to talk with your storage management people to see if there is that much space available in that dataclas or if there is some other you could use for this job.
Something you might consider is sorting the 2 files separately (with MAXSORT if necessary) and then run this process to join. You can tell the join that the files are already in sequence and prevent sorting them as part of the join.
Quote:
How does the above message relate to SORT Capacity exceeded ?
If you cannot allocate the sort work, you run with less and possibly you exceed the sort capacity. . .
Quote:
You've allocated 23 SORKWKnn files, each having 1000 cylinders as primary quantity. This space should be enough.
Did you calculate this or is it just something you believe. No matter, really, as the space request fails. . .
When SyncSort is called upon to take care of dynamically allocating the SORTWK space needed, we simply use the system-provided DYNALLOC facility.
In this particular case, the system DYNALLOC facility reported an error. If you have already referred to your IBM documentation, then you know that the 970C Reason Code indicates a "Severe SMS VTOC service error".
Since the system DYNALLOC facility was unable to acquire any more space, SyncSort then ends up failing and posts the message WER046A SORT CAPACITY EXCEEDED.
You can run a SYNCLIST to check the RETRY subparameter of the DYNALOC option. My suspicion is that it may be set to RETRY=(0,0). If this is the case, you may wish to have your system programmer modify it to reflect RETRY=(5,3) or some other value more appropriate for your site.