|
View previous topic :: View next topic
|
| Author |
Message |
kumar1234
New User
Joined: 06 Nov 2007 Posts: 84 Location: bangalore
|
|
|
|
Hi,
I have a sort step with region=9182k in production and this is abending with space abend, then I changed to Region=0M but it is still abending with same space issues. Could anyone please let me how do I avoid this space issues.
Here is the step that I ran
| Code: |
//STEP03 EXEC PGM=SORT,REGION=0M
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=PURS.V600.TRF250.DIRJRNL(0),DISP=SHR
//SORTOUT DD DSN=T0SPSVS.PURS.V600.TRF250.LOSSES,
// UNIT=CART,DISP=(NEW,CATLG,DELETE),VOL=(,,,99),
// SPACE=(CYL,(250,25),RLSE),
// DCB=(LRECL=1039,RECFM=VB)
//SYSIN DD *
SORT FIELDS=(035,294,BI,A,363,038,BI,A,698,016,BI,A,347,008,BI,A,
329,006,BI,A)
INCLUDE COND=(75,1,CH,EQ,C'L')
|
Thanks. |
|
| Back to top |
|
 |
dbzTHEdinosauer
Global Moderator

Joined: 20 Oct 2006 Posts: 6965 Location: porcelain throne
|
|
|
|
| kumar1234 wrote: |
| with space abend |
so you say.
cut and paste all the messages concerning this particular error from the jesmsg
as well as the messages from sysout |
|
| Back to top |
|
 |
kumar1234
New User
Joined: 06 Nov 2007 Posts: 84 Location: bangalore
|
|
|
|
| Code: |
WER164B 77,440K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX-250K BYTES REQUESTED,
WER164B 1M BYTES RESERVE REQUESTED, 77,416K BYTES USED
WER146B 20K BYTES OF EMERGENCY SPACE ALLOCATED
WER108I SORTIN : RECFM=VB ; LRECL= 1039; BLKSIZE= 32760
WER110I SORTOUT : RECFM=VB ; LRECL= 1039; BLKSIZE= 32760
WER410B 75,388K BYTES OF VIRTUAL STORAGE AVAILABLE ABOVE THE 16MEG LINE,
WER410B 0 BYTES RESERVE REQUESTED, 75,388K BYTES USED
WER036B G=1638,B=56656,SEGLEN=20384,BIAS=93
WER162B 0 PREALLOCATED SORTWORK TRACKS, 240,000 DYNAMICALLY ALLOCATED,
WER162B 715,215 ACQUIRED IN 294 SECONDARY EXTENTS, 0 RELEASED, TOTAL OF 955
WER046A SORT CAPACITY EXCEEDED
WER055I INSERT 0, DELETE 504707
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER066A APROX RCD CNT 51173908 |
|
|
| Back to top |
|
 |
gylbharat
Active Member
.jpg)
Joined: 31 Jul 2009 Posts: 565 Location: Bangalore
|
|
|
|
This is the error...
WER046A SORT CAPACITY EXCEEDED |
|
| Back to top |
|
 |
dbzTHEdinosauer
Global Moderator

Joined: 20 Oct 2006 Posts: 6965 Location: porcelain throne
|
|
|
|
even though you did not bother to post from jesmsg,
suggest you look at this thread |
|
| Back to top |
|
 |
kumar1234
New User
Joined: 06 Nov 2007 Posts: 84 Location: bangalore
|
|
|
|
from jesmsg
| Code: |
VAM MESS 0241 - SORTWK04 500 5 CYL
VAM WARNING - T0SPSVSS T0SPSVS SYS12080.T082121.RA000.T0SPSVSS.R0245688
VAM MESS 0240 - 15 - EXTENTS EXCEDES LIMIT(5)
VAM MESS 0241 - SORTWK28 500 9 CYL
IEF285I SYS12080.T080939.RA000.T0SPSVSS.R0245397 DELETED
SYS12080.T082301.RA000.T0SPSVSS.R0245692 DELETED
VOL SER NOS= ASCR9C.
T0SPSVSS STEP03 - COMPLETION CODE - SYSTEM=000 USER=0016 REASON=00000000
T0SPSVS.T0SPSVSS.JOB01409.D0000102.? SYSOUT |
|
|
| Back to top |
|
 |
dbzTHEdinosauer
Global Moderator

Joined: 20 Oct 2006 Posts: 6965 Location: porcelain throne
|
|
|
|
did you bother to look at the link that i found for you?
which you could have found had you bothered to search........ |
|
| Back to top |
|
 |
bodatrinadh
Active User

Joined: 05 Jan 2007 Posts: 101 Location: chennai (India)
|
|
| Back to top |
|
 |
Anuj Dhawan
Superior Member

Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
| Quote: |
| RECFM=VB ; LRECL= 1039; BLKSIZE= 32760 |
Is your input file on TAPE?
As gylbharat also indicated, you're not getting space-abend - but then why do you say so in your first post?
| Quote: |
| I changed to Region=0M |
This is not the correct solution for such problems. Depending upon the CLASS in which the Job is executing value on REGION parameter might/might-not be honoured.
Suggest you get in touch with the SyncSort representative at your shop. |
|
| Back to top |
|
 |
Robert Sample
Global Moderator

Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
| Quote: |
| this is abending with space abend, then I changed to Region=0M but it is still abending with same space issues. |
This is like telling a mechanic your car won't go into reverse, so the mechanic changes the radiator fluid. There is NO relationship between a "space abend" and the REGION= parameter in a job. Further, you need to be aware that a "space abend" may be an SB37, SD37, SE37 (among others) abend and these require different solutions depending upon which is occurring -- and why.
And this part of your post makes no sense to me:
| Code: |
//SORTOUT DD DSN=T0SPSVS.PURS.V600.TRF250.LOSSES,
// UNIT=CART,DISP=(NEW,CATLG,DELETE),VOL=(,,,99),
// SPACE=(CYL,(250,25),RLSE),
// DCB=(LRECL=1039,RECFM=VB)
|
Typically, UNIT=CART refers to some form of tape (3480 cartridge, 3490 cartridge, 3590, etc) -- in which case using a SPACE parameter is completely and totally useless since tape cartridges do not have nor do they use SPACE (a parameter that applies ONLY to disk drives).
Further, you need to tell us how many records are in your input file and what is their average record length. Have you run a historgram on your input file? |
|
| Back to top |
|
 |
Anuj Dhawan
Superior Member

Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
| It looks like te OP is not posting what actually is happening. WER046A is termed as "space abend" while neither posted-SYSOUT not the JESMSGLG talka about S%37. I'm not sure if it's a "true-thread". |
|
| Back to top |
|
 |
|
|
 |
All times are GMT + 6 Hours |
|