Author |
Message
|
venky |
Posted: Fri Apr 23, 2004 6:48 am Post subject: MQMD Reporting flag. |
|
|
 Master
Joined: 08 Jul 2003 Posts: 205
|
Hello All,
I need to set the MQMD Report field in the outgoing message such that,
when the receiving app receives the message it should be able to send a COA - Confirmation of arrival ( with data and Exception )
Should I set it to MQMD_REQUEST ??
Pls help
Venky
-- |
|
Back to top |
|
 |
TonyD |
Posted: Fri Apr 23, 2004 4:47 pm Post subject: |
|
|
Knight
Joined: 15 May 2001 Posts: 540 Location: New Zealand
|
Check the MQRO_ options in Appendix B of the Application Programming Reference. |
|
Back to top |
|
 |
kirani |
Posted: Sat Apr 24, 2004 5:47 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
You need to set this in MQMD.Report field.
I think you should use MQRO_COA and MQRO_EXCEPTION_WITH_DATA in your report option. _________________ 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 |
|
 |
venky |
Posted: Mon Apr 26, 2004 1:32 pm Post subject: |
|
|
 Master
Joined: 08 Jul 2003 Posts: 205
|
Hi all,
Thanks for your replies........
I tried the same, thats setting
SET MQMD.Report = 'MQRO_EXCEPTION_WITH_DATA ';
but looks like the Report field doesn't take String, so
MQRO_EXCEPTION_WITH_DATA should be corresponding to a integer
value, if any one could help me with the details.
Thanks,
Venky
-- |
|
Back to top |
|
 |
TonyD |
Posted: Mon Apr 26, 2004 2:45 pm Post subject: |
|
|
Knight
Joined: 15 May 2001 Posts: 540 Location: New Zealand
|
Remove the quotes:
Code: |
SET OutputRoot.MQMD.Report = MQRO_EXCEPTION_WITH_DATA; |
|
|
Back to top |
|
 |
venky |
Posted: Wed Apr 28, 2004 11:53 am Post subject: |
|
|
 Master
Joined: 08 Jul 2003 Posts: 205
|
Thank you very much.
Iam trying out this code now.
Thanks,
Venky
-- |
|
Back to top |
|
 |
|