View previous topic :: View next topic
|
Author |
Message |
Eshwar CICS
New User
Joined: 18 May 2011 Posts: 47 Location: India
|
|
|
|
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 |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
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 |
|
|
Eshwar CICS
New User
Joined: 18 May 2011 Posts: 47 Location: India
|
|
|
|
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 |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
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.
Garry. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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
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 |
|
|
Eshwar CICS
New User
Joined: 18 May 2011 Posts: 47 Location: India
|
|
|
|
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 |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Eshwar CICS
New User
Joined: 18 May 2011 Posts: 47 Location: India
|
|
|
|
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 |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Eshwar CICS
New User
Joined: 18 May 2011 Posts: 47 Location: India
|
|
|
|
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 |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
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 |
|
|
Eshwar CICS
New User
Joined: 18 May 2011 Posts: 47 Location: India
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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
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
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
publib.boulder.ibm.com/infocenter/cicsts/v3r2/index.jsp?topic=%2Fcom.ibm.cics.ts.doc%2Fdfha8%2Fcommands%2Fdfha8_inquiresystem.html |
|
Back to top |
|
|
Eshwar CICS
New User
Joined: 18 May 2011 Posts: 47 Location: India
|
|
|
|
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 |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
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 |
|
|
|