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 » Getting descriptions for reason and completion codes?

Post new topic  Reply to topic
 Getting descriptions for reason and completion codes? « View previous topic :: View next topic » 
Author Message
Leigh Kendall
PostPosted: Thu Sep 11, 2003 5:59 am    Post subject: Getting descriptions for reason and completion codes? Reply with quote

Acolyte

Joined: 10 Apr 2003
Posts: 66
Location: Hartford, CT

Is there anyway from within the .NET MQ classes (or Java) to get the textual description of reason and completion codes?

I need to log any exceptions thrown, but would like to also log not only the code, but the description as well so we don't always have to look them up in the api guide.

Any suggestions?

Thanks...
_________________
Leigh Kendall
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Thu Sep 11, 2003 6:10 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

the additional mqrc program returns the description

mqrc 2085 > output.log , bit clunky but should do the trick
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
EddieA
PostPosted: Thu Sep 11, 2003 6:44 am    Post subject: Reply with quote

Jedi

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

Could you adapt MA0K.

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
Leigh Kendall
PostPosted: Thu Sep 11, 2003 9:53 am    Post subject: Reply with quote

Acolyte

Joined: 10 Apr 2003
Posts: 66
Location: Hartford, CT

Thanks for the replies...

I take it however, that there is no "easy" way to get this information. No other property is exposes this information? That would be nice... I know on MQException in the .NET classes, the message property just returns the reasonCode and completionCode formatted nicely, but no description information.

Oh well... Guess the operators will have to cross-reference any errors in the MQ API Reference. <g>
_________________
Leigh Kendall
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 » Getting descriptions for reason and completion codes?
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.