View previous topic :: View next topic
|
Author |
Message |
sabarikanth
New User
Joined: 07 Jun 2010 Posts: 59 Location: coimbatore
|
|
|
|
Hi,
I have a piece of CICS code in which Program-A calls Program-B and returns back to Program-A.
In this Program-B will fetch data from database for a particular Key. If the fetched data is huge then the entire process is getting timed-out. So i'm trying to exclude the Program-B if it exceeds a predefined time limit(say 3secs).
Is it possible to skip the Program-B, if it is not fetching the data within 3sec? |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
Quote: |
Is it possible to skip the Program-B, if it is not fetching the data within 3sec |
Dont you think you might be going away from business need
Also when you say call is it a call or a link?
Also timeout you said what does it mean?
Are you fetching the data from B and sending it to A ?? |
|
Back to top |
|
|
sabarikanth
New User
Joined: 07 Jun 2010 Posts: 59 Location: coimbatore
|
|
|
|
Dont you think you might be going away from business need
--- We got alignment for the same from business
Also when you say call is it a call or a link?
-- Its Link
Also timeout you said what does it mean?
-- We have to perform all the operations(Linking from one program to another) with in 30sec..
Are you fetching the data from B and sending it to A ??
--Yes i'm fetching the data from Program-B and passing to pgm-A via Commarea. |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
And Is it 30 or 3 secs ?
And what should be done when there are 10k more records and time exceeds 30 or 3 secs? Did you think about it already? |
|
Back to top |
|
|
sabarikanth
New User
Joined: 07 Jun 2010 Posts: 59 Location: coimbatore
|
|
|
|
And Is it 30 or 3 secs ?
-- Actual time is 30sec but Pgm-B has to fetch the data within 3 secs. So if it exceeds 3secs i have to skip the PGM-B and get back to PGM-A.
And what should be done when there are 10k more records and time exceeds 30 or 3 secs? Did you think about it already?
-- We have to skip the Pgm-B |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
At the PCT level (using CEDA) for the associated transaction, review the DTIMOUT and SPURGE keywords.
DTIMOUT (Deadlock Timeout), is specified as an "MMSS" format and if you specify a non-zero DTIMOUT value, SPURGE (System Purgeable) must be set to YES.
If an abend were to occur (exceeded DTIMOUT interval), an "AFCI" abend will probably (but not necessarily) be raised along with an "AFCY".
It would be best if you worked with your CICS System Programmer and/or Tech Support personnel, when considering these changes.
If you have CEDA access and you make these changes without notifying one of the above personnel, it may not be appreciated. |
|
Back to top |
|
|
|