Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8642
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 Merging records, but not all the time prino DFSORT/ICETOOL 5 Sat Feb 17, 2018 4:20 pm
No new posts Need all records with high key kalidasvs SYNCSORT 14 Fri Feb 09, 2018 10:38 pm
No new posts Why is SORT rearranging records that ... cschablow DFSORT/ICETOOL 4 Wed Jan 24, 2018 10:14 pm
No new posts Skip records depends on count lakshmiibmmainframes DFSORT/ICETOOL 5 Sun Dec 24, 2017 9:51 pm
No new posts Compare two PS files using ICE TOOL f... SENTHIL MURUGAAN DFSORT/ICETOOL 5 Sun Dec 24, 2017 1:26 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us