IBM MAINFRAME HELP FORUMS for COBOL, JCL, CICS, DB2, IMS etc...
Help & Support Forums for IBM Mainframe computers Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7, CA-11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, VSAM, ISPF, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

Sort abend - due to space.

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> ABENDS & Debugging
View previous topic :: View next topic  
Author Message
Debahuty



Joined: 21 Jun 2006
Posts: 4

Posted: Sun Jun 15, 2008 8:58 am    Post subject: Sort abend - due to space.  

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



Joined: 23 Nov 2006
Posts: 7505
Location: 221 B Baker St

Posted: Sun Jun 15, 2008 9:06 am    Post subject:  

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



Joined: 21 Jun 2006
Posts: 4

Posted: Sun Jun 15, 2008 9:11 am    Post subject: Reply to: Sort abend - due to space.  

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



Joined: 23 Nov 2006
Posts: 7505
Location: 221 B Baker St

Posted: Sun Jun 15, 2008 9:13 am    Post subject:  

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



Joined: 21 Jun 2006
Posts: 4

Posted: Sun Jun 15, 2008 9:17 am    Post subject: Reply to: Sort abend - due to space.  

There are 19 million records in the file.
Back to top  
dick scherrer



Joined: 23 Nov 2006
Posts: 7505
Location: 221 B Baker St

Posted: Sun Jun 15, 2008 9:26 am    Post subject:  

Ok, and where are the other 2 sets of requested info?
Back to top  
mohitsaini



Joined: 15 May 2006
Posts: 40

Posted: Sun Jun 15, 2008 12:04 pm    Post subject:  

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



Joined: 23 Nov 2006
Posts: 7505
Location: 221 B Baker St

Posted: Sun Jun 15, 2008 12:37 pm    Post subject:  

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



Joined: 21 Jun 2006
Posts: 4

Posted: Sun Jun 15, 2008 1:08 pm    Post subject: Reply to: Sort abend - due to space.  

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



Joined: 23 Nov 2006
Posts: 7505
Location: 221 B Baker St

Posted: Sun Jun 15, 2008 1:14 pm    Post subject:  

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  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> ABENDS & Debugging
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM
Related Links