MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can two program read data from MQ same time

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
Shankarganesh_gopal
Beginner


Joined: 24 May 2005
Posts: 36
Topics: 20
Location: chennai

PostPosted: Wed Feb 20, 2008 4:59 am    Post subject: Can two program read data from MQ same time Reply with quote

Hi All,

We already have CICS transaction which will be triggered, when data comes into our MQ. Currently we receive say around 100 transaction per min.

In future, we are expecting 2000 transaction per min. In this case, we don't want any delay in processing or lossing any transaction. So we in search for solution.

One of our idea is, lets have two trans ID which will be triggered to read the same MQ at regular intervals of time or lets create one more MQ and route some of the transaction to new MQ.

In both case, we are not sure, whether our approach is correct or not. Could some one please suggest us an idea to simplify the process.

Thanks in advance,
Shankar.
Back to top
View user's profile Send private message
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Wed Feb 20, 2008 11:21 am    Post subject: Reply with quote

I assume the task keeps processing records until the queue is empty.

The easiest method would be to create multiple queues, each one triggering a task. Of course, this means the activity must be spread evenly among the queues to provide the best service. The response time you can provide would dictate the number of queues needed.

I don't think you can trigger two different tasks from the same queue?? You could possibly set the queue to TRIGGER EVERY and start a separate task for each message but this might be too much overhead in CICS.
_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
Shankarganesh_gopal
Beginner


Joined: 24 May 2005
Posts: 36
Topics: 20
Location: chennai

PostPosted: Wed Feb 27, 2008 1:00 am    Post subject: Reply with quote

Hi Bill,

Very Thanks for your reply.

But I have one more question.

Can we run on two seperate image using the same MQ and CICS/TransID?

Shankar.
Back to top
View user's profile Send private message
ravikumar_sri2001
Beginner


Joined: 06 Dec 2002
Posts: 117
Topics: 44
Location: Chennai,India

PostPosted: Fri May 16, 2008 6:01 pm    Post subject: Reply with quote

Shankar,

I think MQ cluster concept would be the best fit for your case. Check manual SC34-6589-00 available in the below link

http://www-306.ibm.com/software/integration/wmq/library/library6x.html

You can also refer http://www.mqsquared.ca/wmq/whitepapers/MQ%20Clustering%20101.pdf.

Thanks,
Ravikumar.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group