Author |
Message
|
mmarq |
Posted: Wed Oct 30, 2002 9:42 am Post subject: Path does not match any of the selected messages |
|
|
Acolyte
Joined: 19 Sep 2002 Posts: 74 Location: Newton, MA
|
I get this error when I am trying to trap the exception list on my catch terminal of the input node. The line it points to is this:
Set OutputRoot.XML.Error.errorCode = ErrorNum;
In fact, whenever I try to set something in the outputroot it complains with this. I am using the MRM parser in the Inputnode - do I need to reset something to tell it to use XML for output?
Thanks,
Melissa _________________ M Marquis |
|
Back to top |
|
 |
kwelch |
Posted: Wed Oct 30, 2002 10:01 am Post subject: |
|
|
 Master
Joined: 16 May 2001 Posts: 255
|
Melissa,
SET OutputRoot.Properties.MessageFormat = 'XML';
Also, where is ErrorNum coming from? I haven't done this, but don't you have to code something like this?
For example:
Set OutputRoot.XML.Error.errorCode = InputExceptionList.RecoverableException.RecoverableException.ParserException.Number;
This could vary based on your error type.
Karen |
|
Back to top |
|
 |
mmarq |
Posted: Wed Oct 30, 2002 10:54 am Post subject: Reply |
|
|
Acolyte
Joined: 19 Sep 2002 Posts: 74 Location: Newton, MA
|
Thanks for your reply!
Yes - I have it coded - I only showed the snipet that was not working.
I have in one compute node this (now):
SET OutputRoot.Properties.MessageFormat = 'XML';
SET OutputRoot.XML.Error=InputExceptionList;
And still get the Path error msg: Path does not match any of the selected messages
Any thoughts? Should I be able to output in XML and use OutputRoot? _________________ M Marquis |
|
Back to top |
|
 |
kwelch |
Posted: Wed Oct 30, 2002 12:34 pm Post subject: |
|
|
 Master
Joined: 16 May 2001 Posts: 255
|
Hi Melissa,
In your Compute Node in the advanced tab do you have Exception and Message picked for your Compute Mode? If you don't have that you don't have access to the ExceptionList.
Karen |
|
Back to top |
|
 |
kirani |
Posted: Wed Oct 30, 2002 4:03 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Melissa,
You will have to reset your message domain to BLOB before this compute node, so use RCD node to do that.
I hope this will solve your problem. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
|