Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
TDQ & its usage as ATI

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
akodakka

New User


Joined: 20 May 2010
Posts: 75
Location: India

PostPosted: Sat Oct 17, 2015 6:04 pm    Post subject: TDQ & its usage as ATI
Reply with quote

Hello ,

My query is as below

if i define a TDQ with trigger level as 1 .And my TDQ trigger PROGA when it message in queue as 1.

msg = 1 , TDQ triggers PROGA and PROGA process the msg in the TDQ

1. If during the execution of PROGA will another msg can be written in that TDQ and if so will it trigger another copy of PROGA ?

Basically my query is how will i can handle this TDQ ATI with high volume of transactions. An ENQ within PROGA will be right approach?

Thanks
Back to top
View user's profile Send private message

enrico-sorichetti

Senior Member


Joined: 14 Mar 2007
Posts: 10626
Location: italy

PostPosted: Sat Oct 17, 2015 9:30 pm    Post subject: Reply to: TDQ & its usage as ATI
Reply with quote

the normal approach is to have PROGA keep reading the queue until empty
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 2268
Location: NY,USA

PostPosted: Mon Oct 19, 2015 8:28 pm    Post subject:
Reply with quote

Quote:
. If during the execution of PROGA will another msg can be written in that TDQ and if so will it trigger another copy of PROGA ?

Multithreading and Multitasking concept but very unlikey to happen unless the called program is really slow.
Quote:
Basically my query is how will i can handle this TDQ ATI with high volume of transactions. An ENQ within PROGA will be right approach?

That all depends on your requirements, if they want TRGLVL=1 then that is how it should be else you can increase the trglvl.

Take a look at START as well as for each record you are calling the new task so why TDQ unless you have any batch using that.
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: Tue Oct 20, 2015 10:08 pm    Post subject: Reply to: TDQ & its usage as ATI
Reply with quote

What Rohit has said is true. There will only be one transaction running and if that transaction fails, then the TDQ keeps filling up, unless your application program issues a START of this failed transaction so it can issue a READQ TD API.

I think you're better off with individual START TRANSID API's.

HTH....
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 FORMATTIME - CPU usage Nileshkul CICS 3 Sun Aug 18, 2019 5:22 am
No new posts ALTERNATE RECORD KEY usage for KSDS AIX sophia.lee COBOL Programming 1 Thu Jul 25, 2019 7:28 am
No new posts Storage usage in a web service provider. John Poulakos CICS 0 Tue Jun 04, 2019 8:12 pm
No new posts zIIP usage for IIB components yogi.47eie Testing & Performance analysis 0 Thu Jan 03, 2019 4:46 pm
No new posts Usage/Utiliy of Plan in DB2 arijitS DB2 4 Thu Jun 21, 2018 8:16 pm

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