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
 

 

S222 abend with short on storage(SOS)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: S222 abend with short on storage(SOS)
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7236

PostPosted: Mon Aug 22, 2011 2:42 am    Post subject: Reply to: S222 abend with short on storage(SOS)
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Mon Aug 22, 2011 3:11 am    Post subject: Reply to: S222 abend with short on storage(SOS)
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    Post subject:
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: 7913
Location: Bellevue, IA

PostPosted: Mon Aug 22, 2011 5:06 am    Post subject:
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

Site Director


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

PostPosted: Mon Aug 22, 2011 7:02 am    Post subject:
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    Post subject:
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7236

PostPosted: Mon Aug 22, 2011 12:34 pm    Post subject:
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    Post subject:
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    Post subject:
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7236

PostPosted: Mon Aug 22, 2011 12:58 pm    Post subject:
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: 2422
Location: Netherlands, Amstelveen

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

The following links may be of interest :

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

http://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    Post subject:
Reply with quote

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

Global Moderator


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

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

So read

http://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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm
No new posts Need Short Cut to Take Dump of Volumes newsysprg JCL & VSAM 4 Wed Jul 13, 2016 5:54 pm
No new posts S213-14 ABEND explantion Apurva Mehta JCL & VSAM 5 Thu Jul 07, 2016 10:56 pm


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