|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
HELP with MQGET plug-in IA09 |
« View previous topic :: View next topic » |
Author |
Message
|
kwelch |
Posted: Thu Mar 20, 2003 7:23 am Post subject: HELP with MQGET plug-in IA09 |
|
|
 Master
Joined: 16 May 2001 Posts: 255
|
Hi,
I am in the process of trying to replace the database that stores our request/reply information with the MQGET node. I am running MQSeries 5.3 and WMQI 2.1 CSD 2. I want to store the reply to qmgr and reply to queue on a queue, then match on correlid or message id to retrieve this information. I have the first part working fine. The message gets stored on the queue. I can see the qmgr and queue and they are correct. When the reply is received, the MQGet gets the message off the queue, so I know it is matching correctly. Now here is the part I can't seem to get to work. When I go to pull off the the information from the tree I am getting garbage and then get 2085 when I try to do the put. My MQGet options are:
Q - PL.REPLYINFO
Message Tree Location = Root.XML.REPLYINFO
Data Type = String
Select by Correlid
Trans mode = Automatic
In my compute node I am using SUBSTRING to try to pull off the qmgr and queue and set the DestinationList.
I thought I had this working before but now can't seem to get it to work. Does anyone have an example of how to get the information that the MQGET stores in the Message Tree Location? In the support pac they show it directly going into the Root.MQMD.ReplyToQ, but I can't do this as I need the QMGR too. Also we have another application that may want to use this to store data unrelated to reply to information. Any examples or suggestioins are welcome. Thanks
Karen |
|
Back to top |
|
 |
kwelch |
Posted: Thu Mar 20, 2003 12:26 pm Post subject: |
|
|
 Master
Joined: 16 May 2001 Posts: 255
|
I figured out my problem. The requesting message is coming from the mainframe. When I save my replyto information it gets stored on the queue as an EBCDIC message. When I get my reply and process through the MQGet node, it does an ASCII to UNICODE conversion. That is why I was seeing garbage and getting the 2085 when trying to PUT the reply.
I wonder if there is any chance that this support pac will be enhanced to handle both types?
I need to do a convert of the original request message unless someone knows of a better way. Thanks.
Karen |
|
Back to top |
|
 |
WBI_user |
Posted: Fri Apr 04, 2003 8:56 pm Post subject: HELP with MQGET plug-in IA09 |
|
|
Partisan
Joined: 07 Aug 2001 Posts: 386
|
The SupportPac is As-Is. The source code is provided and you can put in the convert option and re-build the lil. The application programming guide provides some details on how to re-build the lil. We did that under WIN2K.
If you do not want to re-built, the other option is use WMQI to just convert the message before it is picked up by the MQGET node. Just use a simple flow with MQINPUT node connected to MQOutput node and specify convert under advanced tab on the MQInput node. |
|
Back to top |
|
 |
kwelch |
Posted: Mon Apr 07, 2003 7:27 am Post subject: |
|
|
 Master
Joined: 16 May 2001 Posts: 255
|
There were several ways to approach this. The easiest way for me was to just convert the information being stored to the queue on the output. This way I could keep the original message as is and the message on the queue will be in a format that MQGET expects.
Karen |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|