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 -> DFSORT/ICETOOL
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    Post subject: SORT CAPACITY EXCEEDED problem
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: 2150
Location: At my coffee table

PostPosted: Fri Sep 07, 2007 4:27 pm    Post subject:
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    Post subject:
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

Moderator Team Head


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

PostPosted: Fri Sep 07, 2007 4:47 pm    Post subject: Reply to: SORT CAPACITY EXCEEDED problem
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 Moderator


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

PostPosted: Fri Sep 07, 2007 8:05 pm    Post subject:
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 Moderator


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

PostPosted: Fri Sep 07, 2007 8:48 pm    Post subject:
Reply with quote

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

http://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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts SORT requirement sjiraga COBOL Programming 6 Thu Mar 09, 2017 9:11 pm
No new posts SORT to append Month and YEAR in MMYY... tisamf DFSORT/ICETOOL 1 Wed Mar 08, 2017 4:46 pm


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