ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Report Options

Post new topic  Reply to topic
 Report Options « View previous topic :: View next topic » 
Author Message
danielaphex
PostPosted: Fri Jun 13, 2003 1:39 am    Post subject: Report Options Reply with quote

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
View user's profile Send private message
danielaphex
PostPosted: Fri Jun 13, 2003 2:32 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Report Options
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.