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
 

 

Can SoS(Short on Storage) be handled programatically

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
Eshwar CICS

New User


Joined: 18 May 2011
Posts: 47
Location: India

PostPosted: Tue Sep 06, 2011 11:31 am    Post subject: Can SoS(Short on Storage) be handled programatically
Reply with quote

My application program which is main memory hungry issues a GETMAIN. CICS serves that request, but CICS gets in to SoS condition.

Is it possible to detect whether CICS will get in to SoS if it GETMAINs the storage.By detecting this i am planning to bypass the GETMAIN.

I am not looking at alternate solutions to GETMAIN. Please advise on how to detect SoS before CICS actually plunges in to SoS.
Back to top
View user's profile Send private message

Garry Carroll

Active Member


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

PostPosted: Tue Sep 06, 2011 12:13 pm    Post subject: Re: Can SoS(Short on Storage) be handled programatically
Reply with quote

Eshwar CICS wrote:
My application program which is main memory hungry issues a GETMAIN. CICS serves that request, but CICS gets in to SoS condition.

Is it possible to detect whether CICS will get in to SoS if it GETMAINs the storage.By detecting this i am planning to bypass the GETMAIN.

I am not looking at alternate solutions to GETMAIN. Please advise on how to detect SoS before CICS actually plunges in to SoS.


If you have a method whereby your application can successfully bypass the GETMAIN, then you should use this method rather than issue the GETMAIN. It seems a bit silly to have two methods of processing, one of which is problematic.

Garry.
Back to top
View user's profile Send private message
Eshwar CICS

New User


Joined: 18 May 2011
Posts: 47
Location: India

PostPosted: Tue Sep 06, 2011 12:21 pm    Post subject: Reply to: Can SoS(Short on Storage) be handled programatical
Reply with quote

When GETMAIN is bypassed, a confirmation will be sent back to the user that the request (transaction) cannot be served. This is more appropriate than pushing the CICS region in to SoS.

People replying to this post may seek more information to understand the situation before coming to any fruitless conclusions. Thanks.
Back to top
View user's profile Send private message
Garry Carroll

Active Member


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

PostPosted: Tue Sep 06, 2011 12:28 pm    Post subject:
Reply with quote

Quote:
People replying to this post may seek more information to understand the situation before coming to any fruitless conclusions.


It would be better if the scenario were better described in the original query to eliminate ambiguity or misrepresentation of the situation. icon_rolleyes.gif
Garry.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Tue Sep 06, 2011 1:38 pm    Post subject: Reply to: Can SoS(Short on Storage) be handled programatical
Reply with quote

Quote:
People replying to this post may seek more information to understand the situation before coming to any fruitless conclusions. Thanks.

refrain from making offensive comment on people trying to help You !


Quote:
Is it possible to detect whether CICS will get in to SoS if it GETMAINs the storage.By detecting this i am planning to bypass the GETMAIN.

what kind of answer did You expect gievn tyhe previous statement

people reply on their own time free of charge...
if You do not like the answers You get here You are free to migrate elsewhere icon_evil.gif
You are warned !

PS.
from Your profile
Occupation : consultant

how much are You going to charge for something You are getting for free ?
Back to top
View user's profile Send private message
Eshwar CICS

New User


Joined: 18 May 2011
Posts: 47
Location: India

PostPosted: Tue Sep 06, 2011 2:23 pm    Post subject:
Reply with quote

Expecting whether SoS can be detected in advance of GETMAIN request. With the help of available DSA & the amount of GETMAIN being requested.

Let me know if any further explanation is required.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7236

PostPosted: Tue Sep 06, 2011 2:46 pm    Post subject: Reply to: Can SoS(Short on Storage) be handled programatical
Reply with quote

What happens if after you check, I mean microseconds after you check, there is not enough storage.

So you leave a "safety margin".

But microseconds after you check the "safety margin" is busted.

If you have something eating lots of storage, it is best you fix it so it doesn't. As any consultant would now. Unless it was that consultant's solution in the first place, I suppose.
Back to top
View user's profile Send private message
Eshwar CICS

New User


Joined: 18 May 2011
Posts: 47
Location: India

PostPosted: Tue Sep 06, 2011 3:04 pm    Post subject:
Reply with quote

Hi Peterholland, many thanks for sharing the link which gives indepth information about SoS. Is it possible for an application program to fetch EDSA allocated for the CICS region & the amount of available EDSA at that particular instant.

Hi Bill, the length of GETMAIN is dynamically decided in the program. There are very little chances of GETMAIN reaching the DSA threshold limits, but possibility is not ruled out and we are trying to mitigate such risks.Thanks.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


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

PostPosted: Tue Sep 06, 2011 3:10 pm    Post subject:
Reply with quote

Maybe here :

http://publib.boulder.ibm.com/infocenter/cicsts/v4r2/index.jsp?topic=%2Fcom.ibm.cics.ts.doc%2Fdfha2%2Fparameters%2Fdfha2_edsalim.html

or here :

http://publib.boulder.ibm.com/infocenter/cicsts/v3r1/index.jsp?topic=%2Fcom.ibm.cics.ts31.doc%2Fdfht3%2Fdfht3zn.htm

And for now i leave it to you to do some research yourself.
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: Tue Sep 06, 2011 7:27 pm    Post subject:
Reply with quote

Hello,

Just how much storage is requested in this problem GETMAIN?

Was this method chosen simply tio make the coder's work more simple?

There is no good reason to implement something that will not work a good bit of the time or will crash CICS. . .

A redesign is in order. If you explain what the process is supposed to accomplish, someone will probably have suggestions. It is most unlikely that you have something completely unique - i.e. many here have already successfully implemented the same business requirement.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Tue Sep 06, 2011 7:37 pm    Post subject:
Reply with quote

Quote:
Is it possible for an application program to fetch EDSA allocated for the CICS region & the amount of available EDSA at that particular instant.
It is possible for a system programmer program to find the limit; typically application programs are not allowed to do so at most sites. You would have to talk to your site management to get permission to do so, and probably work with your site support group (once given permission) to get the details worked out.
Back to top
View user's profile Send private message
Eshwar CICS

New User


Joined: 18 May 2011
Posts: 47
Location: India

PostPosted: Tue Sep 06, 2011 9:25 pm    Post subject:
Reply with quote

Hi Dick,

CICS went in to SoS when the GETMAIN requested above 16 MB was served. And when it was above 17 MB the transaction faced RLED abend (and CICS instantaneously killed the task without even allowing the abend handling).

This application program acts as interface module to business module in web services world. We are generating web service for service provider in top down approach with mapping level of 3.0 in RDZ. The amount of data coming in the input container can vary from few bytes to several MB.Need to GET the data from container and place in some main storage to process and pass it to business logic.GETMAIN is causing issues when the data received is large. We would like to dynamically decide the available storage in CICS.If the request can't be catered, send a SOAP fault back that the request cannot be catered.

Please let me know if any further information is required to provide me the direction. Thanks.[/quote]
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: Tue Sep 06, 2011 9:36 pm    Post subject: Reply to: Can SoS(Short on Storage) be handled programatical
Reply with quote

I'm assuming you're specifying the FLENGTH (31-Bit Extended User-DSA) keyword in the GETMAIN API?

17MB GETMAIN? That doesn't leave a lot of wiggle room if you have several of these tasks running concurrently and monopolizing the EUDSA, plus all the other tasks in the mix?

What's your total EDSA size in the SIT?

Mr. Bill
Back to top
View user's profile Send private message
Eshwar CICS

New User


Joined: 18 May 2011
Posts: 47
Location: India

PostPosted: Tue Sep 06, 2011 9:51 pm    Post subject:
Reply with quote

Hi Bill,

I do not have access to SIT. Bit i could see that the region has 250 MB of data above 16 MB line(checked in CICS job log). Thanks.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Tue Sep 06, 2011 10:01 pm    Post subject: Reply to: Can SoS(Short on Storage) be handled programatical
Reply with quote

Quote:
Please let me know if any further information is required to provide me the direction.

the best direction is to start spending time upgrading Your skills and reading the manuals...
what You need is all there just waiting to be picked up icon_cool.gif

did You ever hear of the SPI and EXEC CICS INQUIRE SYSTEM
most probably not, too busy consulting and charging for info You got for free, I guess icon_evil.gif

after Your stupid comment
Quote:
People replying to this post may seek more information to understand the situation before coming to any fruitless conclusions.

You deserve all the rudeness and nasty comments that we can provide

but since I am in a very good mood here is the link to the relevant page of the manual
http://publib.boulder.ibm.com/infocenter/cicsts/v3r2/index.jsp?topic=%2Fcom.ibm.cics.ts.doc%2Fdfha8%2Fcommands%2Fdfha8_inquiresystem.html
Back to top
View user's profile Send private message
Eshwar CICS

New User


Joined: 18 May 2011
Posts: 47
Location: India

PostPosted: Tue Sep 06, 2011 10:22 pm    Post subject:
Reply with quote

Hi Enrico,

This is expert guidance. Found the answer in the link which you have provided.

My comment may appear rude but my intention was to stop replies which will deviate from the post. I apologize if my comment seems to be rude.

All your other advises are received in good spirit. Thanks.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


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

PostPosted: Tue Sep 06, 2011 10:56 pm    Post subject:
Reply with quote

Yes, and if you had explored the links i gave you would have learned the same. But being bone-idle is also a way of life.
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 Need Short Cut to Take Dump of Volumes newsysprg JCL & VSAM 4 Wed Jul 13, 2016 5:54 pm
No new posts How storage is calculated for AN-Edit... Raghu navaikulam COBOL Programming 2 Wed Mar 09, 2016 3:51 pm
No new posts How can amount of the Storage Usage b... esduman61 CICS 6 Wed Mar 09, 2016 1:19 pm
No new posts CEE0813S Insufficient storage was ava... kishpra COBOL Programming 18 Mon Nov 09, 2015 8:37 pm
No new posts Insufficient Storage issue while exec... rexx77 JCL & VSAM 4 Fri Jul 10, 2015 10:29 pm


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