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
 

 

How to skip a Call statement

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: How to skip a Call statement
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

Moderator


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

PostPosted: Wed Jan 30, 2013 8:16 pm    Post subject:
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    Post subject: Reply to: How to skip a Call statement
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

Moderator


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

PostPosted: Wed Jan 30, 2013 8:24 pm    Post subject:
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    Post subject: Reply to: How to skip a Call statement
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Jan 30, 2013 10:36 pm    Post subject: Reply to: How to skip a Call statement
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    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 ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts VALIDATE NULL VALUE IN DB2 CASE STATE... useit DB2 5 Thu Feb 09, 2017 4:34 pm
No new posts -913/-911 Deadlock during UPDATE stat... NoSleep319 DB2 5 Fri Nov 18, 2016 12:37 am
No new posts Cobol EZASOKET call to SETSOCKOPT fails Andi1982 COBOL Programming 6 Thu Oct 06, 2016 7:12 pm
No new posts Strange EXEC function call in z/VM Willy Jensen CLIST & REXX 3 Wed Oct 05, 2016 2:07 pm


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