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 CAPACITY EXCEEDED problem....

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
amolgijare

New User


Joined: 19 Mar 2005
Posts: 8
Location: Pune, India

PostPosted: Thu Jun 09, 2005 9:26 am    Post subject: SORT CAPACITY EXCEEDED problem....
Reply with quote

Hi all,

I have a query on SORT. We are using SORT program to sort and merge 7 really huge files, but we are getting user abend 16. It says 'SORT CAPACITY EXCEEDED'. I think there is some thing called as MAXSORT which can help us out. Can anyone provide little more information about MAXSORT or an example of MAXSORT. Or is there any other way to do it ??

Thanks in advance
Back to top
View user's profile Send private message

MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Thu Jun 09, 2005 3:32 pm    Post subject:
Reply with quote

To avoid this kind of problem you can increase the dynamic allocation option.
If you look for DYNALOC in your sysout you will know what is your defaut and so you can increase that value:
i.e. with
Code:
OPTION DYNALLOC=(SYSDA,nn)

in your SYSIN.
But I think that if you post the same question to the correct forum you will have more detail.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Thu Jun 09, 2005 8:26 pm    Post subject:
Reply with quote

Amol,

Are you using DFSORT (ICE messages, e.g. ICE000I) or Syncsort (WER messages)?

If you're using DFSORT, add the following to your DFSORT steps:

//SORTDIAG DD DUMMY

and send me the //SYSOUT messages offline (yaeger@us.ibm.com) and I'll take a look.
Back to top
View user's profile Send private message
sridhard

New User


Joined: 02 Jun 2005
Posts: 8
Location: Chennai

PostPosted: Thu Jun 09, 2005 8:57 pm    Post subject: Re: SORT CAPACITY EXCEEDED problem....
Reply with quote

Hi,

Give REGION=0 in the jobcard. if this is not solved your porblem use the MAXSORT.

Thanks
Sridhar
Back to top
View user's profile Send private message
Sangram

New User


Joined: 08 Jun 2005
Posts: 7

PostPosted: Fri Jun 10, 2005 4:40 pm    Post subject:
Reply with quote

U can give more sortwork areas too if you still have a problem. This will create temporary sort areas and are used while sorting large files. The syntax is specifed below.

//SORTWKnn DD UNIT=SYSDA,SPACE=(CYL,(1,1)

However the SORTWK should not be specified for copy or merge utitlity if the DYNALLOC parm is used
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Fri Jun 10, 2005 9:44 pm    Post subject:
Reply with quote

Quote:
However the SORTWK should not be specified for copy or merge utitlity if the DYNALLOC parm is used


Actually, SORTWK should not be specified for copy or merge at all since copy and merge don't use work space.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORT to unpack a feild shr_amar DFSORT/ICETOOL 7 Fri Jul 07, 2017 4:32 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Optimize sort inrec parse vishwakotin DFSORT/ICETOOL 6 Mon Jun 26, 2017 11:15 pm
No new posts Reduce CPU Times for Join Sort santoshn SYNCSORT 12 Sat Jun 10, 2017 1:40 pm
No new posts Db2 load job abending in SORT mistah kurtz DB2 4 Mon Jun 05, 2017 3:58 pm


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