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

How to skip a Call statement


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

New User


Joined: 07 Jun 2010
Posts: 59
Location: coimbatore

PostPosted: Wed Jan 30, 2013 8:07 pm
Reply with quote

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
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Wed Jan 30, 2013 8:16 pm
Reply with quote

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
View user's profile Send private message
sabarikanth

New User


Joined: 07 Jun 2010
Posts: 59
Location: coimbatore

PostPosted: Wed Jan 30, 2013 8:19 pm
Reply with quote

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
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Wed Jan 30, 2013 8:24 pm
Reply with quote

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
View user's profile Send private message
sabarikanth

New User


Joined: 07 Jun 2010
Posts: 59
Location: coimbatore

PostPosted: Wed Jan 30, 2013 8:29 pm
Reply with quote

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
View user's profile Send private message
Bill O'Boyle

CICS Moderator


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

PostPosted: Wed Jan 30, 2013 10:36 pm
Reply with quote

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
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 Error while running web tool kit REXX... CLIST & REXX 5
No new posts Call program, directly from panel CLIST & REXX 9
No new posts Batch call online program, EXCI task ... CICS 3
No new posts JOIN STATEMENT PERFORMANCE. DFSORT/ICETOOL 12
No new posts CSQBGET - Call giving completion code... COBOL Programming 3
Search our Forums:

Back to Top