Please find my answer inline.

 

 

Thanks for you help. Any further help would be highly appreciated.

 

 

-----Original Message-----
From: Kulbir S. Thind [mailto:[EMAIL PROTECTED]]
Sent
:
Friday, May 10, 2002 3:27 PM
To: [EMAIL PROTECTED]
Subject: Re: How to chage a string in Compute Node

 


I can offer some pointers:

         Is the message defined in the MRM (i.e. your message with one element of type string of length whatever)

Yes the message is defined in MRM.

         I think you may need to specify your message within the messageset as an input on your compute node

I already have a message set defined and the message is within the defined message set.

         Have you deployed the message set to your broker

Yes, I did.

         What error messages are you seeing?  If on NT you can look in the NT event viewer.

I don't see any error message. I tested the message flow, everything seems okay. Looked into the NT event viewer, there was no error.

         Have you run a user trace?  This could be a useful way of debugging this.

I tried running through debugger. But couldn't find any problem. It showed message processed. Do you use debugger to run trace? I generated trace using debugger but really couldn't find any helpful information in the log file.

Hope this helps

 

"Ratnadeep Bose" <[EMAIL PROTECTED]>

Sent by: "MQSeries List" <[EMAIL PROTECTED]>

10-May-2002 20:40
Please respond to "MQSeries List" <[EMAIL PROTECTED]>

       
                       

        To:        MQSERIES

        cc:        
        Subject:        How to chage a string in Compute Node

        


I am a starter in MQSI. I am sure I am dealing with a very simple problem
but I just cannt get around with it.

I constructed simple a message flow where input and output nodes are
connected by compute code. I am trying to modify the message, coming from
input node to compute node using ESQL. The message has only one element
msgText, type string. I am putting message in the input queue using MQ
Explorer. I have following ESQL code in compute node.

SET OutputRoot = InputRoot;
-- Enter SQL below this line.  SQL above this line might be regenerated,
causing any modifications to be lost.

set "OutputRoot"."MRM"."msgText" = ' This is my message';

I can never get my hard coded message back in output queue, actually noting
is appearing in output queue. I tried by copying only the header but that
did not make any difference either. It's working if I only have
SET OutputRoot = InputRoot; which gets me back whatever I am putting in to
input queue back to output queue.


Where am I going wrong?


Thanks for all your help.



Ratnadeep Bose

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Reply via email to