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
 

 

REGION UNAVAILABLE, ERROR CODE=20

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: REGION UNAVAILABLE, ERROR CODE=20
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: 1771
Location: Bloomington, IL

PostPosted: Tue Apr 05, 2011 1:59 am    Post subject:
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    Post subject:
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: 1771
Location: Bloomington, IL

PostPosted: Tue Apr 05, 2011 2:52 am    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10277
Location: italy

PostPosted: Tue Apr 05, 2011 3:40 am    Post subject: Reply to: REGION
Reply with quote

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

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

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

or here
http://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: 8121
Location: East Dubuque, Illinois, USA

PostPosted: Tue Apr 05, 2011 6:05 am    Post subject:
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

Active Member


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

PostPosted: Tue Apr 05, 2011 6:10 am    Post subject:
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: 258

PostPosted: Tue Apr 05, 2011 1:09 pm    Post subject:
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

Active Member


Joined: 08 May 2006
Posts: 995
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Tue Apr 05, 2011 4:53 pm    Post subject:
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    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 UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am


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