|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
IIB 10 Error Catalog |
« View previous topic :: View next topic » |
Author |
Message
|
matuwe |
Posted: Fri Jan 25, 2019 9:30 pm Post subject: IIB 10 Error Catalog |
|
|
 Master
Joined: 05 Dec 2007 Posts: 296
|
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 |
|
 |
timber |
Posted: Sun Jan 27, 2019 1:18 pm Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
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 |
|
 |
rekarm01 |
Posted: Mon Jan 28, 2019 7:27 pm Post subject: Re: IIB 10 Error Catalog |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 1415
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|