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)
  • I think you may need to specify your message within the messageset as an input on your compute node
  • Have you deployed the message set to your broker
  • What error messages are you seeing?  If on NT you can look in the NT event viewer.
  • Have you run a user trace?  This could be a useful way of debugging this.

    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