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

SORT CAPACITY EXCEEDED problem


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Hari Kumar

New User


Joined: 28 Jul 2005
Posts: 19

PostPosted: Fri Sep 07, 2007 4:09 pm
Reply with quote

Hi All,

I am facing one issue while performing sort operation
The Job has four input files and I am trying to sort them using sort card.
Output file definition and workarea is as follows:
Code:

//SORTOUT  DD DSN=ABCD.EFGH.IJKL.MNOPQ,     
//         DISP=(NEW,CATLG,DELETE),                       
//         UNIT=CART,VOL=(,,,99),                         
//         DCB=(MDLDSCB,RECFM=FB,LRECL=5000,BLKSIZE=25000)
//SORTWK01 DD SPACE=(CYL,(1500,2500)),UNIT=(SYSDA,20)         
//SORTWK02 DD SPACE=(CYL,(1500,2500)),UNIT=(SYSDA,20)         
//SORTWK03 DD SPACE=(CYL,(1500,2500)),UNIT=(SYSDA,20)         
//SORTWK04 DD SPACE=(CYL,(1500,2500)),UNIT=(SYSDA,20)         
//SYSIN    DD *                                               
  SORT FIELDS=(740,20,CH,A,          A-CONT-NO         
            415,3,CH,A,           **A-PLAN           
            12,02,ZD,D,           **A-YR     
            22,6,PD,D)            **A-NO             


This is failing with U 016 Reason 53 . It also says : SORT CAPACITY EXCEEDED .
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Fri Sep 07, 2007 4:27 pm
Reply with quote

Generally, secondary extents and multiple volumes are not used in sortwks....
Why don't you try FILSZ or SIZE and let the sort allocate the work areas it needs?
Back to top
View user's profile Send private message
Hari Kumar

New User


Joined: 28 Jul 2005
Posts: 19

PostPosted: Fri Sep 07, 2007 4:46 pm
Reply with quote

Thanks for the reply. Could you please provide syntax for FILSZ and SIZE
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Sep 07, 2007 4:47 pm
Reply with quote

Please refer to the appropriate manual for your SORT product for both the error resolution and syntax details.
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 Sep 07, 2007 8:05 pm
Reply with quote

DFSORT only uses the first volume of multivolume work data sets, so the SYSDA,20 you used for each SORTWKnn is actually equivalent to SYSDA,1. The ICE046A message tells you that 4 SORTWKdd data sets is not enough. You could add more SORTWKdd data sets - how many you need depends on the number of records in your input file and their length. You can specify up to 255 SORTWKdd data sets.

Alternatively, you could remove all of the SORTWKdd data sets and let DFSORT allocate the needed work space dynamically. The FILSZ parameter is generally not needed since DFSORT can usually determine the file size automatically. In the few cases where it is needed (e.g. an E15 exit supplies all of the input records), you can specify the approximate number of records (x) as follows:

Code:

//DFSPARM DD *
   OPTION FILSZ=Ex
/*


DFSORT will use your installation's default for the maximum number of work data sets to dynamically allocate. If appropriate, you can increase that maximum (n) as follows:

Code:

//DFSPARM DD *
   OPTION DYNALLOC=(,n)
/*


n can be up to 255.
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 Sep 07, 2007 8:48 pm
Reply with quote

Seems like this is a duplicate of the Syncsort problem described at:

ibmmainframes.com/viewtopic.php?t=24292

Is it?
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 -> DFSORT/ICETOOL

 


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