Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 1567
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: 1567
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: 2504
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 SQLCODE -950 in PREPARE statement ... PeD DB2 2 Sat Apr 20, 2019 7:00 pm
No new posts Call DB2 user defined function from C... Ziko13 DB2 5 Thu Mar 14, 2019 4:46 pm
No new posts How to resolve sqlcode of CALL ATTACH... maxsubrat DB2 3 Fri Feb 22, 2019 11:54 am
No new posts Can we call QMF proc from REXX ? batu544 CLIST & REXX 6 Fri Aug 03, 2018 11:03 am
No new posts Create view statement from SYSIBM.SYS... andrea DB2 7 Thu Aug 02, 2018 9:30 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us