IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SORT CAPACITY EXCEEDED


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Fri Dec 19, 2008 11:28 am
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 Developer


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

PostPosted: Fri Dec 19, 2008 9:24 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts how to calculate SUM value for VB fil... DFSORT/ICETOOL 1
Search our Forums:

Back to Top