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

WER046A SORT CAPACITY EXCEEDED


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kumar1234

New User


Joined: 06 Nov 2007
Posts: 84
Location: bangalore

PostPosted: Tue Mar 20, 2012 7:10 pm
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Mar 20, 2012 7:12 pm
Reply with quote

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
View user's profile Send private message
kumar1234

New User


Joined: 06 Nov 2007
Posts: 84
Location: bangalore

PostPosted: Tue Mar 20, 2012 7:15 pm
Reply with quote

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
View user's profile Send private message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Tue Mar 20, 2012 7:16 pm
Reply with quote

This is the error...

WER046A SORT CAPACITY EXCEEDED
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Mar 20, 2012 7:20 pm
Reply with quote

even though you did not bother to post from jesmsg,
suggest you look at this thread
Back to top
View user's profile Send private message
kumar1234

New User


Joined: 06 Nov 2007
Posts: 84
Location: bangalore

PostPosted: Tue Mar 20, 2012 7:26 pm
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Mar 20, 2012 7:39 pm
Reply with quote

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
View user's profile Send private message
bodatrinadh

Active User


Joined: 05 Jan 2007
Posts: 101
Location: chennai (India)

PostPosted: Tue Mar 20, 2012 10:48 pm
Reply with quote

Hello Kumar,

Have you tried giving PARM='Maxsort'

check this link :-

ibmmainframes.com/viewtopic.php?t=57193

Thanks
-3nadh
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Mar 22, 2012 7:55 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Mar 22, 2012 8:19 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Mar 22, 2012 8:25 pm
Reply with quote

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
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 -> JCL & VSAM

 


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