Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Sort abend - due to space.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
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    Post subject: Sort abend - due to space.
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

Site Director


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

PostPosted: Sun Jun 15, 2008 9:06 am    Post subject:
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    Post subject: Reply to: Sort abend - due to space.
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

Site Director


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

PostPosted: Sun Jun 15, 2008 9:13 am    Post subject:
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    Post subject: Reply to: Sort abend - due to space.
Reply with quote

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

Site Director


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

PostPosted: Sun Jun 15, 2008 9:26 am    Post subject:
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: 90

PostPosted: Sun Jun 15, 2008 12:04 pm    Post subject:
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

Site Director


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

PostPosted: Sun Jun 15, 2008 12:37 pm    Post subject:
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    Post subject: Reply to: Sort abend - due to space.
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

Site Director


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

PostPosted: Sun Jun 15, 2008 1:14 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts SORT requirement sjiraga COBOL Programming 6 Thu Mar 09, 2017 9:11 pm
No new posts SORT to append Month and YEAR in MMYY... tisamf DFSORT/ICETOOL 1 Wed Mar 08, 2017 4:46 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us