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
 

 

MQ ... TRANSACTION HITS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
View previous topic :: :: View next topic  
Author Message
lrawat

New User


Joined: 02 Feb 2008
Posts: 19
Location: usa

PostPosted: Wed Jul 30, 2008 1:28 am    Post subject: MQ ... TRANSACTION HITS
Reply with quote

hi friends,
i have a windows based application integrated with CICS-mainframe.
now, as soon as any message is received by mainframe through MQ (sent by windows application), a transaction gets hit in mainframe (say OP01).
Now if multiple messages are hitting at the mainframe end through MQ, multiple instances of transaction (OP01) start running simultaneously.

Is there a way I can limit number of transactions running simultaneously. For example to 5, so incase 10 messages are received at mainframe end, only 5 messages would initiate 5 instances of transactions OP01 and 5 messages would wait by the time 5 messages from before are processed.

Any idea, if it can be done?

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

Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Wed Jul 30, 2008 2:22 am    Post subject:
Reply with quote

Assigning the TRANSACTION ID to its own unique TCLASS would do it, since the TCLASS can be assigned a maximum value, but I'm sure there's a better way nowadays. My CICS knowledge is rusty.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Jul 30, 2008 2:53 am    Post subject:
Reply with quote

Hello,

Talking with your CICS System Programmer(s) would be good. . .
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Wed Jul 30, 2008 5:36 am    Post subject:
Reply with quote

Our CICS support people do this for our transactions that are triggered by MQ quite often. I don't know what they do though
Back to top
View user's profile Send private message
sudhakar84

New User


Joined: 20 Jun 2008
Posts: 21
Location: chennai

PostPosted: Wed Jul 30, 2008 9:36 am    Post subject: Reply to: MQ ... TRANSACTION HITS
Reply with quote

There is one concept like MQ depth. Based on this we can control the no of records a Q can hold. Just a thought..
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Wed Jul 30, 2008 7:32 pm    Post subject:
Reply with quote

You wouldn't want to limit the MQ depth just to limit the number of running transactions. That would ripple up to your windows app. You want to just limit how many running transactions you have. That way you can continue to put work onto the queue and let it wait until the transaction runs and it will get pulled off.
Back to top
View user's profile Send private message
lrawat

New User


Joined: 02 Feb 2008
Posts: 19
Location: usa

PostPosted: Thu Jul 31, 2008 7:27 pm    Post subject:
Reply with quote

all, thanks for the help!!
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Thu Jul 31, 2008 7:30 pm    Post subject:
Reply with quote

Something we do with a specific transaction is it gets triggered when any message gets put onto a queue. It the processes all messages on the queue. This transaction is limited to 1 but will always empty the queue processing each message as it goes along.
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 -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 3 Thu Jan 19, 2017 1:31 am
No new posts Detailed Transaction History report f... Kyle Carroll CICS 5 Tue Oct 18, 2016 12:42 am
No new posts How to calculate an specific transact... lind sh CICS 2 Tue Sep 13, 2016 9:20 pm
No new posts Start a CDBM transaction whit appropr... lind sh CICS 2 Sun Apr 10, 2016 1:46 pm


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