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

SORT Capacity exceeded error - RECORD COUNT 624402


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Rajkumar_n

New User


Joined: 07 Dec 2006
Posts: 51
Location: Bloomington

PostPosted: Tue May 29, 2007 8:29 am
Reply with quote

Hi,

I am getting an error while trying to sort two input files. I am getting

ABENDU0046 with message SORT CAPACITY EXCEEDED - RECORD COUNT 624402.

I tried using ICEMAN for a specific function and it didn't showed up this message.

But I want to perform the following function for which I am getting this error as I am using DFSORT.

//SYSIN DD *
SORT FIELDS=(6,5,PD,A)
SUM FIELDS=(1,1),FORMAT=ZD

Could any please let me know how can perform the above function using ICEMAN.

My step looks like the following

Code:

//PSTEP03  EXEC PGM=SORT                               
//SYSOUT   DD  SYSOUT=*                                   
//SYSUDUMP DD  SYSOUT=D                                   
//SNAPDUMP DD  SYSOUT=D                                   
//****************************************                 
//*            INPUT FILE(S)             *                 
//****************************************                 
//SYSIN    DD  *                                           
  SORT FIELDS=(6,5,PD,A)                                   
  SUM FIELDS=(1,1),FORMAT=ZD                               
//SORTIN   DD  DSN=MJN.RET01.MOLP601A.MCRPTMTH.TEST(+0),   
//             DISP=SHR                                   
//         DD  DSN=MJN.XXXXX.SRTRA2,                     
//             DISP=SHR                     
//****************************************                   
//*            OUTPUT FILE               *                   
//****************************************                   
//SORTOUT  DD  DSN=MJN.RET01.MOLP601A.MCRPTMTH.TEST(+1),     
//             DISP=(,CATLG,DELETE),                     
//             UNIT=CART,                                   
//             DCB=(DSORG=PS,BLKSIZE=0)


Please advise.

Thanks and Regards,
Rajkumar Nerella
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: Tue May 29, 2007 8:39 am
Reply with quote

Hello,

How many records are in the 2 files? What is the lrecl?

Please post the info from the sysout that sort produced.

When you tried this
Quote:
I tried using ICEMAN for a specific function and it didn't showed up this message.
what happened? It may helkp if you post the output from that execution as well.
Back to top
View user's profile Send private message
Rajkumar_n

New User


Joined: 07 Dec 2006
Posts: 51
Location: Bloomington

PostPosted: Tue May 29, 2007 9:50 am
Reply with quote

Hi,

Thanks for your response.

I am not sure of the number of records,but the sysout message looks like the following.


The sysout message looks like the following

RECORD TYPE IS F - DATA STARTS IN POSITION 1
ICEAM1 ENVIRONMENT IN EFFECT - ICEAM1 INSTALLATION MODULE SELECTED
TRN201UE.PSTEP03 . , INPUT LRECL = 24577, BLKSIZE = 24577, TYPE
MAIN STORAGE = (MAX,33554432,33554432)
MAIN STORAGE ABOVE 16MB = (33425928,33425928)
OPTIONS: OVFLO=RC0 ,PAD=RC0 ,TRUNC=RC0 ,SPANINC=RC16,VLSCMP=N,SZERO=Y,
OPTIONS: SIZE=33554432,MAXLIM=1048576,MINLIM=450560,EQUALS=N,LIST=Y,ER
OPTIONS: VIO=N,RESDNT=ALL ,SMF=SHORT,WRKSEC=Y,OUTSEC=Y,VERIFY=N,CHALT=
OPTIONS: RESALL=10240,RESINV=0,SVC=109 ,CHECK=Y,WRKREL=Y,OUTREL=Y,CKPT
OPTIONS: TMAXLIM=4194304,ARESALL=0,ARESINV=0,OVERRGN=0,CINV=Y,CFW=Y,DS
OPTIONS: VLSHRT=N,ZDPRINT=N,IEXIT=N,TEXIT=N,LISTX=N,EFS=NONE ,EXITC
OPTIONS: HIPRMAX=OPTIMAL,DSPSIZE=MAX ,ODMAXBF=0,SOLRF=Y,VLLONG=N,VSAMI
EXCP ACCESS METHOD USED FOR SORTOUT
EXCP ACCESS METHOD USED FOR SORTIN
DC 3712650774 TC 17398033723 CS DSVUU KSZ 6 VSZ 6
FSZ=858961 RC IGN=0 E AVG=24580 0 WSP=27422498 C DYN=0 0
SORT CAPACITY EXCEEDED - RECORD COUNT 624402

Thanks and Regards,
Rajkumar Nerella
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue May 29, 2007 8:03 pm
Reply with quote

You might want to review these previous topics regarding the same issue:

ibmmainframes.com/viewtopic.php?t=19559
ibmmainframes.com/viewtopic.php?t=13702
ibmmainframes.com/viewtopic.php?t=12217
ibmmainframes.com/viewtopic.php?t=11309
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: Tue May 29, 2007 9:16 pm
Reply with quote

Are you using //SORTWKdd DD statements? If so, you need to increase the space for each work data set or add more work data sets.

If you're not using //SORTWKdd DD statements, try increasing the number of dynamically allocated work data sets with a DYNALLOC parameter like this:

Code:

//DFSPARM DD *
   OPTION DYNALLOC=(,16)
/*
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 Error to read log with rexx CLIST & REXX 11
No new posts To get the count of rows for every 1 ... DB2 3
No new posts Error when install DB2 DB2 2
Search our Forums:

Back to Top