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 Completion & Reason Code

Post new topic  Reply to topic
 MQ Completion & Reason Code « View previous topic :: View next topic » 
Author Message
MQWays
PostPosted: Mon Apr 14, 2008 11:10 pm    Post subject: MQ Completion & Reason Code Reply with quote

Acolyte

Joined: 20 Jan 2008
Posts: 61

hi,

Is there a way to access the completion and reason code fields in java after the MQ call without using MQException.

I have tried but the completioncode and reasoncode property is inaccessible directly after the MQ call. In other than java, I know these fields can be accessed.

My messages are getting lost during the server-connection channel. And I would like start with mqput returns.

Any tips.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Apr 15, 2008 3:38 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If an MQ call in the Java API doesn't throw an MQException, then the MQCC and MQRC are both = 0.

It's only when one of those is !=0 that a problem has occurred, and then an Exception should be thrown.


_________________
I am *not* the model of the modern major general.
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 Java / JMS » MQ Completion & Reason Code
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.