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

REGION UNAVAILABLE, ERROR CODE=20


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

New User


Joined: 03 Apr 2008
Posts: 82
Location: United States

PostPosted: Tue Apr 05, 2011 1:48 am
Reply with quote

Hello All,

We have a JCL with multiple steps which runs monthly. One of the steps(step5) abends every month end with S822 and with the message "REGION UNAVAILABLE, ERROR CODE=20"

When the job is restarted from abend step without any changes it goes on to run fine. The culprit step is a FOCUS program with REGION=8M. There is another FOCUS step(Step3) before this which is also REGION=8M and runs fine everytime.

Any idea why this is happening and possible solutions?REGION=0M is an option but I wanted to understand the exact reason and why it is not happening for the previous steps.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Tue Apr 05, 2011 1:59 am
Reply with quote

This is not a "region isn't big enough error" error, it's "a region can not be gotten" error. I think that you'll definitely have to sic the sysprogs onto this.
Back to top
View user's profile Send private message
CICS fan

New User


Joined: 03 Apr 2008
Posts: 82
Location: United States

PostPosted: Tue Apr 05, 2011 2:44 am
Reply with quote

Apologies for poor language skills, but what does this mean "sic the sysprogs onto this"?
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Tue Apr 05, 2011 2:52 am
Reply with quote

"Sic" (sometimes incorrectly spelled "sick") means to urge or order to attack; usually used of dogs, as "The police sicced their dogs on the rioters". In this case, however, I'm using it of sys[tem] prog[rammer]s.

The difference, if any, between sysprogs and dogs is not a topic that I intend to discuss right now icon_wink.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Apr 05, 2011 3:40 am
Reply with quote

here is a link to the page where the S822 abend is described

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2H781/2.502?SHELF=IEA2BK81&DT=20080124095350&CASE=

and the additional explanation here
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2M891/SPTGG085I

or here
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2M891/SPTGG186I

should give You and Your sysprogs something to meditate on

but You certainly have carried on the research already and found out everything Yourself!
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: Tue Apr 05, 2011 6:05 am
Reply with quote

Quote:
The difference, if any, between sysprogs and dogs is not a topic that I intend to discuss right now
I, for one, would LOVE to hear more about this topic!
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Tue Apr 05, 2011 6:10 am
Reply with quote

So if you quote someone who has misspelled "sic" as "sick," then to show that the misspelling is in the original, you'll say something like (assuming the dogs are ill):

"Did the police sick [sic] their sick dogs on the rioters?"

The "[sic]" here being Latin for "thus."
Back to top
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 262

PostPosted: Tue Apr 05, 2011 1:09 pm
Reply with quote

This problem can be caused by storage leakage, basically a previous step acquires storage and does not free it or only frees part of it. This leads to storage fragmentation in the address space, and when a subsequent step runs the complete Region is no longer available. As previous posters suggested it might be a good idea to inform your Sysprogs and get them to take a look.
Quote:
The difference, if any, between sysprogs and dogs is not a topic that I intend to discuss right now

The main difference is that most Sysprogs are not able to lick their own testicles. Though we would probably be a happier bunch if we could icon_exclaim.gif
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Tue Apr 05, 2011 4:53 pm
Reply with quote

Quote:
Though we would probably be a happier bunch if we could


...not if they've just been handed to us on a plate!!!!

Garry.
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 Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
Search our Forums:

Back to Top