sort capacity exceeded

This is a Mainframe COBOL forum - you can post your queries on Mainframe COBOL, VS COBOL II, COBOL/370 , Enterprise COBOL

Moderators: dbzTHEdinosauer, Moderator Group

Post Reply
Jayaram
Member
Posts: 1
Joined: Tue Mar 11, 2014 12:29 am

sort capacity exceeded

Post by Jayaram » Tue Mar 11, 2014 12:35 am

my cobol program has got huge data to be sorted internally. During the execution of the program it is giving sort capacity exceeded.So now I want to process whole data without any issue. Can I know the way to do that?

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Tue Mar 11, 2014 2:00 pm

Give more sortwork areas? Have you read the sort manual for your sort? What sort cards are you using? What sort options are you using? What sort JCL are you using? Or are we supposed to know these things telepathically?
Regards
Nic

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Wed Mar 12, 2014 1:56 am

Most of these things are not specified in an internal Sort.

How many records or what size are being sorted?

How much sort work has been specified?

The internal sort provided some informational / diagnostic information whan it ran. Posting this output may help us help you.
Have a good one

William Collins
Active Member
Posts: 732
Joined: Thu May 24, 2012 4:07 am

Post by William Collins » Wed Mar 12, 2014 3:43 am

You need to show your code, data-definitios, the sysout from the failed step, and the value of compiler option FASTSRT.

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others