View previous topic :: View next topic
|
Author |
Message |
Rajkumar_n
New User
Joined: 07 Dec 2006 Posts: 51 Location: Bloomington
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Rajkumar_n
New User
Joined: 07 Dec 2006 Posts: 51 Location: Bloomington
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
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 |
|
|
|
|