Rommel,

Not within MQ but certainly within your program.  Create an MQMD structure
separate from your message and then copy it over each time.  Be careful with
this however and remember that the MQMD is both an input and an output
field.  That is to say that MQ will update certain fields in the MQMD after
your calls and it is up to you to capture this information before you
overlay the MQMD for the next call.  This is why the MQMD does not "reset"
itself after each call and the reason you need to explicitly set it each
time.

-- T.Rob

-----Original Message-----
From: Rommel Uy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 8:52 PM
To: [EMAIL PROTECTED]
Subject: Setting up message descriptor


Hello,

A question for MQ experts out there: Is there a way to set up the message
descriptors per queue or queue manager so I wouldn't need to define them
whenever I make a  MQPUT / MQGET call ?

Thanks

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

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