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
 

 

SYNCSORT - Problem with sorting Huge records.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
atulxp

New User


Joined: 27 Nov 2005
Posts: 15
Location: Phoenix

PostPosted: Wed Apr 04, 2007 6:15 am    Post subject: SYNCSORT - Problem with sorting Huge records.
Reply with quote

I have a file having 210000000 in a file & I have to prepare two output files using conditions as in following sort card.

SORT FIELDS=(1,13,CH,A,14,14,CH,A,129,10,CH,A)
SUM FIELDS=NONE,XSUM

My Job is abending due to SORT CAPACITY EXCEEDED.
I have tried following options as well

OPTION MOSIZE=MAX,HIPRMAX=OPTIMAL,DSPSIZE=MAX

Is there any otherway to get result without problem.

Thanks in advance
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Wed Apr 04, 2007 6:52 am    Post subject:
Reply with quote

Please post your JCL and all of the sort's output messages.
Without complete information, help will be very slow in coming.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Apr 04, 2007 7:12 am    Post subject:
Reply with quote

Hello,

Until you post the material Bill requested, all i can offer is to first split the file into something your capacity can handle, run the split pieces individually thru the sort, then merge them back into the final file you need.

In addition to the number of records, what is your lrecl?

Regardless of which sort product you are using, there is always a capacity ceiling - splitting the file may be your route.

Good luck - we're here icon_smile.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Apr 04, 2007 12:26 pm    Post subject:
Reply with quote

I have usually found that this is caused by the SORTWKnn needing to have a much larger DASD allocation than they already have. Either by increasing the space allocated or by increasing the number of SORTWKnn DD statements.

You may have to code these yourself if you are using dynamic sortwork allocation.
Back to top
View user's profile Send private message
atulxp

New User


Joined: 27 Nov 2005
Posts: 15
Location: Phoenix

PostPosted: Fri Apr 06, 2007 8:33 am    Post subject:
Reply with quote

Thanks problem got resolved, actually i was using less sort work files
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 Sorting group data rajella DFSORT/ICETOOL 4 Sun Jan 22, 2017 11:32 pm
No new posts SYNCSORT SEQNUM and FI fields. nartcr SYNCSORT 5 Sat Jan 21, 2017 4:02 am
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts Syncsort Help to group fields sudhakarraju SYNCSORT 6 Thu Dec 29, 2016 1:38 am
No new posts SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am


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