IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Sort abend - due to space.


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Debahuty

New User


Joined: 21 Jun 2006
Posts: 6

PostPosted: Sun Jun 15, 2008 8:58 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Jun 15, 2008 9:06 am
Reply with quote

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
View user's profile Send private message
Debahuty

New User


Joined: 21 Jun 2006
Posts: 6

PostPosted: Sun Jun 15, 2008 9:11 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Jun 15, 2008 9:13 am
Reply with quote

Hello,

1 out of 3 icon_smile.gif
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
View user's profile Send private message
Debahuty

New User


Joined: 21 Jun 2006
Posts: 6

PostPosted: Sun Jun 15, 2008 9:17 am
Reply with quote

There are 19 million records in the file.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Jun 15, 2008 9:26 am
Reply with quote

Ok, and where are the other 2 sets of requested info?
Back to top
View user's profile Send private message
mohitsaini
Warnings : 1

New User


Joined: 15 May 2006
Posts: 92

PostPosted: Sun Jun 15, 2008 12:04 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Jun 15, 2008 12:37 pm
Reply with quote

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
View user's profile Send private message
Debahuty

New User


Joined: 21 Jun 2006
Posts: 6

PostPosted: Sun Jun 15, 2008 1:08 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Jun 15, 2008 1:14 pm
Reply with quote

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. . . icon_confused.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts ISAM and abend S03B JCL & VSAM 9
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top