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 How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
This topic is locked: you cannot edit posts or make replies. SORT trick needed bshkris SYNCSORT 6 Tue May 02, 2017 4:35 am
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm
No new posts Sort Large record length cmsmoon DFSORT/ICETOOL 14 Tue Apr 11, 2017 5:49 pm


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