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
 

 

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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
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: 1610
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: 2502
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 How can amount of the Storage Usage b... esduman61 CICS 6 Wed Mar 09, 2016 1:19 pm
No new posts Controlling usage of resources by tasks raja1128 CICS 3 Fri Nov 06, 2015 9:53 am
No new posts XPED - When command usage anand1204 Compuware & Other Tools 3 Tue Sep 15, 2015 12:50 am
No new posts Usage of NETRC for FTP step in JCL Vineetha_123 JCL & VSAM 3 Fri Jul 17, 2015 3:24 pm
No new posts Usage of pointer nilaksh92 COBOL Programming 2 Mon Mar 16, 2015 12:53 pm


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