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 » IBM MQ API Support » Report option usage

Post new topic  Reply to topic
 Report option usage « View previous topic :: View next topic » 
Author Message
malai
PostPosted: Mon Dec 08, 2003 5:35 am    Post subject: Report option usage Reply with quote

Newbie

Joined: 04 Dec 2003
Posts: 8

We have 4 different options in case of reports like
Exception
Expiration
Confirm on arrival (COA)
Confirm on delivery (COD)
Positive action notification (PAN)
Negative action notification (NAN)


How to make use of after setting the Report type of QueueMessage object...?

mqMsg = New MQMessage()

mqMsg.Report = MQC.MQRO_COA
Back to top
View user's profile Send private message
EddieA
PostPosted: Mon Dec 08, 2003 7:40 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

If you are asking how to set more that one at a time, then add them together:

mqMsg.Report = MQC.MQRO_COA + MQC.MQRO_COD

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
malai
PostPosted: Mon Dec 08, 2003 8:33 pm    Post subject: Reply with quote

Newbie

Joined: 04 Dec 2003
Posts: 8

Thanks,,,

Actually after sending a message to a queue,i need to set some some flag in my db to confirm that the message is sent properly to the queue...
so for this how will i use this for my task....?
mqMsg.Report = MQC.MQRO_COA
Back to top
View user's profile Send private message
EddieA
PostPosted: Tue Dec 09, 2003 7:58 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

What do you mean "sent properly to the queue". As far as PUTting the message to a queue is concerned, if you get back a zero return/reason code, then it was PUT "properly".

What these report options do, is generate a Report message which is returned to you, either when the message reasches the destination queue (COA), or an application has retreived the message (COD).

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
malai
PostPosted: Tue Dec 09, 2003 8:30 pm    Post subject: Reply with quote

Newbie

Joined: 04 Dec 2003
Posts: 8

Thanx....

"As far as PUTting the message to a queue is concerned, if you get back a zero return/reason code, then it was PUT "properly".
This is enough to clear my doubts..

cheers.
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 » IBM MQ API Support » Report option usage
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.