View previous topic :: View next topic
Author
Message
Debahuty New User Joined: 21 Jun 2006Posts: 6
Hi! This is your First post in our Forums! So please be sure to 1) Use meaningful and descriptive Topic Title 2) Try to post your query in the relevant forum category 3) Make sure your query is not already posted and solved in our forums, Use the Search facility and avoid Reposts! If you are following the above rules, delete this message and post your query here!
Hi,
I am getting an abend while sorting a file due to space.
The error is :
SORT CAPACITY EXCEEDED
547,125 ACQUIRED IN 416 SECONDARY EXTENTS, 0 RELEASED,TOTAL OF 719,625 TRACKS USED
I have included Sort work files and the space parameter as
SPACE=(CYL,(400,200),RLSE)
Please suggest something which will help.
Back to top
dick scherrer Moderator Emeritus Joined: 23 Nov 2006Posts: 19244 Location: Inside the Matrix
Hello Debahuty and welcome to the forums,
Please post all of the jcl for this step, the sort control statements, and the diagnostic info presented - complete, not chopped down.
Back to top
Debahuty New User Joined: 21 Jun 2006Posts: 6
Here is the JCL step
//JS0100 EXEC PGM=SORT,
// PARM='DYNALLOC=(SYSDA,200),VSCORET=64M'
//SORTIN DD DSN=input,DISP=SHR
//SORTOUT DD DSN=output(+1),
// DISP=(,CATLG),
// SPACE=(CYL,(400,200),RLSE),
// DATACLAS=DCCOMP,BUFNO=60,
// RECFM=FB,LRECL=2500,VOL=(,,,100)
//SORTWK01 DD UNIT=SYSDA,SPACE=(CYL,(200,100),RLSE),VOL=(,,,30)
//SORTWK02 DD UNIT=SYSDA,SPACE=(CYL,(200,100),RLSE),VOL=(,,,30)
//SORTWK03 DD UNIT=SYSDA,SPACE=(CYL,(200,100),RLSE),VOL=(,,,30)
//SORTWK04 DD UNIT=SYSDA,SPACE=(CYL,(200,100),RLSE),VOL=(,,,30)
//SORTWK05 DD UNIT=SYSDA,SPACE=(CYL,(200,100),RLSE),VOL=(,,,30)
//SORTWK06 DD UNIT=SYSDA,SPACE=(CYL,(200,100),RLSE),VOL=(,,,30)
//SORTWK07 DD UNIT=SYSDA,SPACE=(CYL,(200,100),RLSE),VOL=(,,,30)
//SORTWK08 DD UNIT=SYSDA,SPACE=(CYL,(200,100),RLSE),VOL=(,,,30)
//SORTWK09 DD UNIT=SYSDA,SPACE=(CYL,(200,100),RLSE),VOL=(,,,30)
//SORTWK10 DD UNIT=SYSDA,SPACE=(CYL,(200,100),RLSE),VOL=(,,,30)
Back to top
dick scherrer Moderator Emeritus Joined: 23 Nov 2006Posts: 19244 Location: Inside the Matrix
Hello,
1 out of 3
Quote:
the sort control statements, and the diagnostic info presented - complete
Please post these also. . .
Also, how large is the input file?
Back to top
Debahuty New User Joined: 21 Jun 2006Posts: 6
There are 19 million records in the file.
Back to top
dick scherrer Moderator Emeritus Joined: 23 Nov 2006Posts: 19244 Location: Inside the Matrix
Ok, and where are the other 2 sets of requested info?
Back to top
mohitsaini Warnings : 1 New User Joined: 15 May 2006Posts: 92
Hi Debahuty:
In my opinion, increase the size of the sort work files ...
like make SPACE=(CYL,(200,100),RLSE),VOL=(,,,30)
TO something like SPACE=(CYL,(400,200),RLSE),VOL=(,,,100) ... or keep on increase until you get the JCL working ...
Back to top
dick scherrer Moderator Emeritus Joined: 23 Nov 2006Posts: 19244 Location: Inside the Matrix
Hello,
Quote:
In my opinion, increase the size of the sort work files ...
For this volume, try&see will waste a lot of machine resources.
Debahuty:
What is the size of the input file - 60k cyls or so?
If that is correct you may need => 90k cyls for sortwk.
I'd suggest you talk with your storage management people and ask if there is that much work dasd space available.
Back to top
Debahuty New User Joined: 21 Jun 2006Posts: 6
Thanks everyone.
I spoke to the systems admin and the problem is solved.
I changed the PARM='DYNALLOC=(SYSDA,100),HIPRMAX=OPTIMAL,VSCORE=6M,VSCORET=38M'
to
PARM='DYNALLOC=(SYSDA,200),VSCORET=64M'
Back to top
dick scherrer Moderator Emeritus Joined: 23 Nov 2006Posts: 19244 Location: Inside the Matrix
Hello,
Well, it is good to hear that it is now working, but what you posted as the solution is also what you posted to present the problem. . .
Back to top
Please enable JavaScript!