Author |
Message
|
kwelch |
Posted: Fri Sep 17, 2004 5:36 am Post subject: |
|
|
 Master
Joined: 16 May 2001 Posts: 255
|
Hi Kiran,
I got it to work with Root.XML.REPLYINFO after I changed the Syntax Tree to Environment. In Debugger I can see that the MQGet successfully puts the message in the above path. In my next compute node, I move the queue and qmgr to the DestinationList just like we did in ver 2.1 and it does not get populated even when I hard code the values.
Karen |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Sep 17, 2004 5:47 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I think the DestinationList elements have changed in version 5.
It's a pain, but you have to look here to find the new values, instead of in pages that might make more sense, like "Creating Destination Lists" or "Using the Destination List".
Also, make sure your compute node is configured to pass Local Environment... _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kwelch |
Posted: Fri Sep 17, 2004 7:07 am Post subject: |
|
|
 Master
Joined: 16 May 2001 Posts: 255
|
Hi Jeff,
I suspected that the DestinationList had changed and thought I had changed my code accordingly but I had not. I was coding:
OutputLocalEnvironment.Destination.MQDestinationList.DestinatioinData[1].queueName = .... and changed it to:
OutputLocalEnvironment.Destination.MQ.DestinatioinData[1].queueName = .... and now it works! Thanks to everyone for their help!
Karen |
|
Back to top |
|
 |
kirani |
Posted: Fri Sep 17, 2004 1:49 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Well, I dont think the DestinationList is changed between 2.1 and 5.0.
Are you migrating from 2.1 to 5.0 or from 2.0.x to 5.0?
Your original code shows 2.0.x format of destination List. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
PeterPotkay |
Posted: Fri Sep 17, 2004 2:33 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7723
|
I work with Karen. It is definitly from 2.1 to 5.0. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
kirani |
Posted: Fri Sep 17, 2004 10:21 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
It could be that they use to support old format in WMQI 2.1 and now in 5.0 its not supported anymore. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
kwelch |
Posted: Mon Sep 20, 2004 6:30 am Post subject: |
|
|
 Master
Joined: 16 May 2001 Posts: 255
|
Hi Kiran,
That is my guess. What we originally had coded was:
OutputDestinationList.Destination.MQDestinationList.DestinationData[1].queueName which I thought was probably no longer supported.
Then I changed to: OutputLocalEnvironment.Destination.MQDestinationList.DestinatioinData[1].queueName which didn't work. So then tried: OutputLocalEnvironment.Destination.MQ.DestinatioinData[1].queueName
and that worked. We definitely went from 2.1 to 5.0.
Thanks!
Karen |
|
Back to top |
|
 |
|