IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

MQ ... TRANSACTION HITS


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
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
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
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

Moderator Emeritus


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

PostPosted: Wed Jul 30, 2008 2:53 am
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
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: 25
Location: chennai

PostPosted: Wed Jul 30, 2008 9:36 am
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts How to identify the transaction categ... IMS DB/DC 3
No new posts Start CICS transaction every day at 2AM CICS 4
No new posts TWA size of the CPLT transaction CICS 0
No new posts Invoke IMS transaction from .NET IMS DB/DC 1
No new posts COOLGEN - DB2. -927 error while initi... DB2 8
Search our Forums:

Back to Top