View previous topic :: View next topic
|
Author |
Message |
amolgijare
New User
Joined: 19 Mar 2005 Posts: 8 Location: Pune, India
|
|
|
|
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 |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
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 |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
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 |
|
|
sridhard
New User
Joined: 02 Jun 2005 Posts: 8 Location: Chennai
|
|
|
|
Hi,
Give REGION=0 in the jobcard. if this is not solved your porblem use the MAXSORT.
Thanks
Sridhar |
|
Back to top |
|
|
Sangram
New User
Joined: 08 Jun 2005 Posts: 7
|
|
|
|
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 |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
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 |
|
|
|