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

SORT CAPACITY EXCEEDED problem....


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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 Developer


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

PostPosted: Thu Jun 09, 2005 8:26 pm
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
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
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 Developer


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

PostPosted: Fri Jun 10, 2005 9:44 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top