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

S222 abend with short on storage(SOS)


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
saikat

New User


Joined: 23 Jun 2008
Posts: 26
Location: pune

PostPosted: Mon Aug 22, 2011 2:26 am
Reply with quote

Hi

I am getting S222 abend with short on storage(SOS). Please advise how to debug and sort this out.

Regards,
Saikat
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Mon Aug 22, 2011 2:42 am
Reply with quote

Someone with authority, probably OPS, cancelled the job (S222).

Ask the OPS who cancelled it, and then ask the canceller why they thought it was necessary?

They may just say it was the SOS, or they may give you some other reasons.

Often it is a BFL (Big Fat Loop), which is characterised by pigging as many resources as it can. The SOS might indicate aquisition of storage within the loop.

Maybe they just killed it because of the SOS.

Whatever, if you have a dump to look at, and they say they suspect a loop, then find what module it was in, what instruction (previous to NSI), usual sort of stuff, and work out why.

If just the storage concern, same thing, and find what was eating the storage.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Mon Aug 22, 2011 3:11 am
Reply with quote

REGION size could be the reason why the CANCEL was issued....

Bill
Back to top
View user's profile Send private message
saikat

New User


Joined: 23 Jun 2008
Posts: 26
Location: pune

PostPosted: Mon Aug 22, 2011 3:47 am
Reply with quote

Thanks for your reply. But it was not cancelled by OPS. The CICS region got automatically restarted because of this. As far as BFL(big fat loop) is concerned I am also suspecting this. But very strangely the situation occurs for a certain number of records(not fixed always) when one transaction runs and the same thing happens when this transaction runs twice with each transaction and with half number of records. Say suppose if transaction A fails with 2x number of records , same transaction will fail with x number of records if it runs twice at the same time. If loop would have been the case the number of records would have been the same after which loop starts no matter how many transactions run at same time. So I also doubt if anything setup at system level for that transaction (e.g number of records processable at some point of time by that transaction and if it exceeds it will fail abruptly). I have run the transaction with smart test (debugger) also but can't find any loop. Please advise.
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: Mon Aug 22, 2011 5:06 am
Reply with quote

So what you are basically telling us is (1) nobody cancelled the region -- even though S222 MEANS SOMEBODY OR SOMETHING CANCELLED THE REGION, and (2) there's no possible way anything could cause the SOS -- EVEN THOUGH THE MESSAGES ARE SHOWING UP.

When you wake up and are willing listen to reality, come back and we'll try to help you resolve the problem. But as long as you deny there is a problem, and refuse to believe the computer which is telling you there is a problem, there's nothing for us to help you with.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Aug 22, 2011 7:02 am
Reply with quote

Hello,

Quote:
But it was not cancelled by OPS.
Maybe not by some human operator, but maybe by an "automation" product. Check with Operations or the system support people to see if this is already set up to cancel on an SoS.

Then determine what is eating up the storage - almost surely a program problem. Whether someone believes this or not. . . Keep in mind it may be "this" program or some other, making this a victim. . .

Personally, i believe it is "this" program. . .
Back to top
View user's profile Send private message
saikat

New User


Joined: 23 Jun 2008
Posts: 26
Location: pune

PostPosted: Mon Aug 22, 2011 12:26 pm
Reply with quote

Yes the CICS region was restarted by automation no manually. I have tried with increasing EDSA limit for that CICS region but that also couldn't help. So I guess looping is causing problem. But if you read my previous note you can see it's difficult to predict looping. But I will keep investigating. Any suggestion would be greatly appreciated.
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Mon Aug 22, 2011 12:34 pm
Reply with quote

Do you have a dump?

If doesn't matter how many pieces of data cause the loop - unless you look for commonality - but with the dump you'll get it.
Back to top
View user's profile Send private message
saikat

New User


Joined: 23 Jun 2008
Posts: 26
Location: pune

PostPosted: Mon Aug 22, 2011 12:51 pm
Reply with quote

Thanks I will get you the dump shortly.....
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Mon Aug 22, 2011 12:53 pm
Reply with quote

you can dump your dump anywhere you want,
but there is little we can do with a dump
of your software.....
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Mon Aug 22, 2011 12:58 pm
Reply with quote

saikat wrote:
Thanks I will get you the dump shortly.....


Like dbz, I can't say I was expecting you to give it to us....
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Mon Aug 22, 2011 1:07 pm
Reply with quote

The following links may be of interest :

www.ctrek.co.uk/Library/CICSTSandSOSConditions.pdf

ibmmainframes.com/about47494.html

Are you getting messages like :

DFHSM0131
DFHSM0133
Back to top
View user's profile Send private message
saikat

New User


Joined: 23 Jun 2008
Posts: 26
Location: pune

PostPosted: Mon Aug 22, 2011 2:09 pm
Reply with quote

yes DFHSM0133
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Mon Aug 22, 2011 2:13 pm
Reply with quote

So read

publib.boulder.ibm.com/infocenter/cicsts/v3r2/index.jsp?topic=%2Fcom.ibm.cics.ts.messages.doc%2Fcics_mc%2Fdfhsm%2FSM0133.html

And act accordingly. And ask your automation people which treshold is defined for the 2 messages. Maybe they can change that.
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts CICS vs LE: STORAGE option CICS 0
No new posts Insufficient Storage ABENDS & Debugging 7
No new posts Abend S0C4 11 (Page Translation Excep... PL/I & Assembler 16
Search our Forums:

Back to Top