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 » WebSphere Message Broker (ACE) Support » Need to get MQ Error Code

Post new topic  Reply to topic
 Need to get MQ Error Code « View previous topic :: View next topic » 
Author Message
narendra68
PostPosted: Wed Jan 12, 2005 2:12 pm    Post subject: Need to get MQ Error Code Reply with quote

Apprentice

Joined: 17 Nov 2004
Posts: 30

Hi Gurus,
I have created a message flow validate the XML message against the XML Schema.
When there is error in XML, I want to capture the error and write to the error queue for further processing.

But what I am getting is a error code 5367 like this not as MQ001 and the error message does not include what field the error is in.

What do I need to do to get the error code MQ001 instead 5367 and to get the proper error message with the field name.

Thanks in advance
Narendra
_________________
Narendra
Back to top
View user's profile Send private message
Ratan
PostPosted: Wed Jan 12, 2005 2:17 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

That is not an MQ Error, So I dont think you will get an MQ error Code. Look up the application log for the errors.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
JT
PostPosted: Wed Jan 12, 2005 2:22 pm    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

That appears to be a broker error:
Quote:
BIP5367
Severity
20 : Error

Message
Message Validation failure. Invalid value for element <insert_0>. The value <insert_1> is not in the list of allowed values.

Explanation
The value for the element in the message is not one of the enumeration values specified for the element.

Response
Modify the message set or messageflow and redeploy to the broker or modify the input message and resubmit to the broker.
See following the messages for more details.
Back to top
View user's profile Send private message
JT
PostPosted: Wed Jan 12, 2005 2:30 pm    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Quote:
But what I am getting is a error code 5367 like this not as MQ001 and the error message does not include what field the error is in.

How are you obtaining the 5367 error code?

Are you extracting it from the ExceptionList?
Back to top
View user's profile Send private message
narendra68
PostPosted: Wed Jan 12, 2005 2:47 pm    Post subject: Reply with quote

Apprentice

Joined: 17 Nov 2004
Posts: 30

yes
_________________
Narendra
Back to top
View user's profile Send private message
JT
PostPosted: Wed Jan 12, 2005 3:49 pm    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

To the best of my knowledge, there is no error code analyzer available for BIP errors, during run-time or otherwise.

However, if you're extracting the error code from the ExceptionList tree, through the Number element, then there is also a brief description of that error available via the Text element. It's not the same descriptive error message available through the manuals/help, but it does provide some clarity as to the error code.

Also, in some cases the Insert elements in the ExceptionList provide additional details. For MRM parsing errors, some inserts will identify the element in error. Not sure if that is true for XML parsing errors.
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 » WebSphere Message Broker (ACE) Support » Need to get MQ Error 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.