Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

WER046A SORT CAPACITY EXCEEDED

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: WER046A SORT CAPACITY EXCEEDED
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    Post subject:
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    Post subject: Reply to: Region Parm
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    Post subject:
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    Post subject:
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    Post subject: Reply to: Region Parm
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    Post subject:
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    Post subject: Reply to: WER046A SORT CAPACITY EXCEEDED
Reply with quote

Hello Kumar,

Have you tried giving PARM='Maxsort'

check this link :-

http://ibmmainframes.com/viewtopic.php?t=57193

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

Senior Member


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

PostPosted: Thu Mar 22, 2012 7:55 pm    Post subject: Reply to: WER046A SORT CAPACITY EXCEEDED
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: 7914
Location: Bellevue, IA

PostPosted: Thu Mar 22, 2012 8:19 pm    Post subject:
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

Senior Member


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

PostPosted: Thu Mar 22, 2012 8:25 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us