Posted: Wed Jan 19, 2011 3:37 pm Post subject: Serialising messages to two queues
Novice
Joined: 05 Jan 2011 Posts: 10
Hi again guys.
We are building a file transfer mechanism over MQ from WMB to the the host (z/OS).
The way it's being planned to work is WMB PUTs the file to a 'batch' MQ queue on the host and then PUTs a 2nd 'Notification' MQ message to a different MQ queue with a CICS transaction listener hanging off it. The listener STARTs a 2nd CICS transaction to process the Notification message. This transaction does various things, one of them being to kick off a batch job to read the file from the batch MQ queue.
The PUT to the batch queue is a persistent Datagram. What we need is for the file to be delivered to the batch queue before WMB sends the 2nd message to the CICS queue (otherwise the batch job will get triggered before the file is available).
Is there an easy way to ensure the messages are serialised this way? Would specifying MRQO_PAN in the Report field do it?
Joined: 09 Dec 2010 Posts: 53 Location: Vancouver, BC
You could use the WMB flow-order node to do one operation, then the other. But there are a lot of variables that could potentially mess things up for you - are you dealing with strictly local queues on the same QM, or are things more complicated?
Thanks for the suggestion. I'll mention it to our WMB guy.
Our environment is probably pretty typical. Just the one queue manager on the host and we'll probably define a 2nd channel for the batch files to keep them away from the online traffic
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