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 IndexWebSphere Message Broker SupportIIB 10 Error Catalog

Post new topicReply to topic
IIB 10 Error Catalog View previous topic :: View next topic
Author Message
matuwe
PostPosted: Fri Jan 25, 2019 9:30 pm Post subject: IIB 10 Error Catalog Reply with quote

Master

Joined: 05 Dec 2007
Posts: 279

Hi please help.

Is there anyway in my error handling ESQL file i can get the error description from iib catalog. I need to send out that BIP number that i got from the exception. Then get a proper error description from the catalog.

Do a for loop to replace of all the <insert_1> then send the message out.

Is this possible at all?

So far i am manually copying the descriptions from iib website. Please help. Feels like i am on the wrong path
Back to top
View user's profile Send private message
timber
PostPosted: Sun Jan 27, 2019 1:18 pm Post subject: Reply with quote

Guardian

Joined: 25 Aug 2015
Posts: 948

You might want to look at the command-line tool mqsiexplain.
It will not fill in the inserts for you, but it *will* provide the full text of the error, including the 'User response' section which is usually omitted from the exception list.
Back to top
View user's profile Send private message
rekarm01
PostPosted: Mon Jan 28, 2019 7:27 pm Post subject: Re: IIB 10 Error Catalog Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1344

matuwe wrote:
Is there anyway in my error handling ESQL file i can get the error description from iib catalog, ... replace of all the [inserts], then send the message out?

The Java MbException class has some public, non-static methods that can generate a full error message with inserts, but ESQL does not provide a similar function.

Writing an ESQL (or Java static) function that uses a local file instead (such as <install_dir>/server/messages/BIPmsgs.properties), may be a slightly better option than manually copying descriptions from the iib website.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportIIB 10 Error Catalog
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.