ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Swich Direct MQ call to remote MQ call-Msg sequence disturbd

Post new topic  Reply to topic
 Swich Direct MQ call to remote MQ call-Msg sequence disturbd « View previous topic :: View next topic » 
Author Message
DTechBuddy
PostPosted: Mon Jun 20, 2011 6:53 am    Post subject: Swich Direct MQ call to remote MQ call-Msg sequence disturbd Reply with quote

Novice

Joined: 05 May 2009
Posts: 20

An application makes direct Mainframe call.
Here the application directly puts message on A queue of mainframe queue manager (MQM), it gets triggered by transaction Z, and sends response to B queue on MQM.

Now, we want to route their calls via the Remote queue manager (RQM).
So, we will have :-
Message fired at queue C (Queue Remote) on RQM pointing to A (Queue Local) on MQM, and triggered by transaction Z, finally pur response at queue D (Queue Remote) on MQM pointing to B (Queue Local) on RQM.

Now here's the issue description :-
When this application fires the message, it actually internally gets fired as a set of two messages : X Bytes Header and Y Bytes payload.
The transaction program at the Mainframe is expecting these messages in exact sequence, i.e. Header first and Payload later.
If the sequence is messed up, then it throws an error message.

1. We set the trigger off at the A queue and saw (using MQ Explorer) that sequence is coming accurate.
2. If I set the trigger off, and allow messages to pile up, and again set the trigger on, then Mainframe transaction picks all the messages in exact sequence and we get valid response. Now, if we continue our testing, again it starts throwing the error response, till I don't set the trigger off.
3. The Message Delivery Sequence on A queue is FIFO, same in Xmit queue.

Any suggestions on where to look further ? ??
My concern is the sequence of messages.

Thanks in advance.


Last edited by DTechBuddy on Mon Jun 20, 2011 7:46 am; edited 2 times in total
Back to top
View user's profile Send private message
DTechBuddy
PostPosted: Mon Jun 20, 2011 6:56 am    Post subject: Reply with quote

Novice

Joined: 05 May 2009
Posts: 20

Also, to add...

We are using MQ V6.0.2.10 on Remote (Distributed) side.
And MQ V7.0.1 on Mainframe side.

Thanks.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Jun 20, 2011 9:08 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9470
Location: US: west coast, almost. Otherwise, enroute.

This subject has been discussed here many, many times. The APR and/or APG manual has a section that documents 'order of message retrieval'.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jun 20, 2011 12:39 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Make your retrieval of the data portion as a get with wait....
Make sure you set up a qmgr alias on the MF pointing to the distributed qmgr.
This will allow for dynamic created reply queues with non persistent messages...

Save trigger messages on an error queue if you did not receive any data messages. This will allow for later processing, once the data messages have been chased down ...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Swich Direct MQ call to remote MQ call-Msg sequence disturbd
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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.