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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
kudamala

New User


Joined: 12 Sep 2008
Posts: 51
Location: Bangalore

PostPosted: Fri Dec 19, 2008 10:35 am    Post subject: SORT CAPACITY EXCEEDED
Reply with quote

Hi
I have problem with sort. My job fails always saying "SORT CAPACITY EXCEEDED". Log is as follows:

EXCP ACCESS METHOD USED FOR SORTOUT
EXCP ACCESS METHOD USED FOR SORTIN
DC 255482332 TC 0 CS DSVUU KSZ 47 VSZ 47
FSZ=2870588 RC IGN=300000 E AVG=96 0 WSP=357926 C DYN=0 0
SORT CAPACITY EXCEEDED - RECORD COUNT 2870420
DE-K10929 D5-K05352 E8-K11698
END OF DFSORT

my job step is below:
//STEP050 EXEC PGM=SORT,COND=(4,LT)
//SORTWK01 DD SPACE=(TRK,(200,20),RLSE)
//SORTWK02 DD SPACE=(TRK,(200,20),RLSE)
//SORTWK03 DD SPACE=(TRK,(200,20),RLSE)
//SORTWK04 DD SPACE=(TRK,(200,20),RLSE)
//SORTWK05 DD SPACE=(TRK,(200,20),RLSE)
//SORTWK06 DD SPACE=(TRK,(200,20),RLSE)
//SORTWK07 DD SPACE=(TRK,(200,20),RLSE)
//SORTWK08 DD SPACE=(TRK,(200,20),RLSE)
//SORTIN DD DSN=VALID.HISTORY.AGREEMNT.DATA(0),DISP=SHR
//SORTOUT DD DSN=VALID.HISTORY.AGREEMNT.TEMP,
// DISP=(,CATLG,DELETE),
// DCB=(RECFM=FB,LRECL=89),
// SPACE=(TRK,(800,150),RLSE)
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=U
//SYSIN DD DSN=&HLQ..PARMLIB(EUM560X1),DISP=SHR

my sort criteria is as follows(EUM560X1):
SORT FIELDS=(1,22,CH,A,56,3,CH,A,23,10,CH,A,33,8,CH,A),
EQUALS,SIZE=E300000
SUM FIELDS=NONE


initially the size was 150000, i have increased to 300000, still job fails

Can anybody please help me

Thanks in advance
Ravi
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: Fri Dec 19, 2008 11:28 am    Post subject:
Reply with quote

Hello,

Suggest you increase the space allocatoin for the work files and the sortout dataset.

The process has estimates of 150k and 300k records, but sort failed messages menmtion RECORD COUNT 2870420 records before exceeding capacity. I'd try changing the trk specifcations to cyl. I'd also try an estimate of E3000000.

Good luck - someone will be here if ther are new opportunities icon_neutral.gif
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 Dec 19, 2008 9:24 pm    Post subject:
Reply with quote

Quote:
I'd also try an estimate of E3000000


The FILSZ estimate is NOT needed. DFSORT has determined the filesize automatically, so it ignores the estimate.

Quote:
I'd try changing the trk specifcations to cyl.


Yes, it woud be better to use CYL, but with TRK DFSORT will reallocate the work data sets to cylinders automatically.

Quote:
Suggest you increase the space allocatoin for the work file


That would be one approach. A better approach would be to remove the SORTWKdd DD statements and let DFSORT allocate the work space dynamically. The default number of work data sets will probably work fine, but if more work data sets are needed, the maximum can be specified using DYNALLOC=(,n). For example, if a maximum of 8 work data sets are needed, use:

Code:

//DFSPARM DD *
  OPTION DYNALLOC=(,8)
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 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
No new posts JCL sort Match and NoMatch rakeshsekar1987 SYNCSORT 2 Thu Feb 02, 2017 10:26 pm


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