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 Java / JMS » MQ PUT Error Handling

Post new topic  Reply to topic
 MQ PUT Error Handling « View previous topic :: View next topic » 
Author Message
yaravind
PostPosted: Wed Oct 02, 2002 7:11 am    Post subject: MQ PUT Error Handling Reply with quote

Apprentice

Joined: 17 Jun 2002
Posts: 25

Hi Folks,

MQPUT may result in one of the following completion codes

1) MQCC_SUCCESS
2)MQCC_FAILED
3)MQCC_WARNING

I know that the message is not kept on the Q if the call returns MQCC_FAILED. Pls let me know if the message is put on the Q if the completion ocde returned is MQCC_WARNING and also how to handle MQCC_WARNING if message is not kept on the Q.

Your help is greatly appreciated.

Thanks in advance.

Regards.
Aravind
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
bower5932
PostPosted: Wed Oct 02, 2002 11:31 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I just checked the Application Programming Reference. It gives several Reasons for the warning:

MQRC_MULTIPLE_REASONS - this happens when using a distribution list - some puts worked, some puts didn't

MQRC_PRIORITY_EXCEEDS_MAXIMUM - this puts the message and uses the qmgr max priority

MQRC_UNKNOWN_REPORT_OPTION - this uses a mask that tells the qmgr what to ignore/accept and puts the message. You might use this if you are putting a message to a different qmgr version.

MQRC_INCOMPLETE_GROUP, MQRC_INCOMPLETE_MSG - this puts the message and is probably a coding error on your part because you failed to end your group or message

MQRC_INCONSISTENT_PERSISTENCE, MQRC_INCONSISTENT_UOW - this puts the message and is probably also a coding error since you are using groups with some messages in/out the UOW and some persistent/non-persistent

There is a very good discussion on these reason codes at the back of the Application Programming Reference.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MQ PUT Error Handling
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.