|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Report Options |
« View previous topic :: View next topic » |
Author |
Message
|
danielaphex |
Posted: Fri Jun 13, 2003 1:39 am Post subject: Report Options |
|
|
Apprentice
Joined: 07 Apr 2003 Posts: 28
|
Hi to everyone,
I looking forward to developing a WMQSI flow which should send, to a MQSeries queue belonging to a predefined queue manager, a Report Message.
It is needed to be that this output message generates a report message when reaches the especified queue (arrival confirmation) and must keep the MsgId invariable from the source output message.
The trouble I am getting It is caused because I can not find the way, from a Compute Node, to add this two attributes of the Report Message together.
The code I am thinking about looks like:
Quote: |
-- Generate a Report Message
SET OutputRoot.MQMD.MsgType = MQMT_REPORT;
-- Conf¡rmation on arrival whith full data
SET OutputRoot.MQMD.Report = MQRO_COA_WITH_FULL_DATA;
-- Keeps the MsgId of the confirmation message unaltered
SET OutputRoot.MQMD.Report = MQRO_PASS_MSG_ID;
|
But, as you can guess, I do not the obtain the expected results.
Can anybody tell me how can I perform this operation?? |
|
Back to top |
|
 |
danielaphex |
Posted: Fri Jun 13, 2003 2:32 am Post subject: |
|
|
Apprentice
Joined: 07 Apr 2003 Posts: 28
|
To whom It may interest,
I found the solution to the problem related above.
The operator I was looking for is the BITOR operator so the definitive code looks like:
Quote: |
-- Message Type 'Report'
SET OutputRoot.MQMD.MsgType = MQMT_REPORT;
-- Confirmation on arrival and keeps the MsgId
SET OutputRoot.MQMD.Report = BITOR(MQRO_COA_WITH_FULL_DATA,MQRO_PASS_MSG_ID);
|
I hope this can be useful to anyone
Thank to everybody anyway, |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|