Author |
Message
|
Kraven12 |
Posted: Tue Apr 02, 2002 6:40 am Post subject: |
|
|
Novice
Joined: 21 Oct 2001 Posts: 21
|
I am trying to incorporate some advanced error handling in a message flow. I am putting a RFH2 record with data that doesn't match the MRM definition into the flow to force a failure. The message is taking the proper failure route but when I use a Trace Node to output the ExceptionList it is blank.
The failure does get recorded in the Syslog - this is the same message I expected to see in the ExceptionList. Environment is MQSI 2.1 on AIX.
Has anyone seen this symptom before?
Thanks |
|
Back to top |
|
 |
kirani |
Posted: Tue Apr 02, 2002 10:01 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Is your trace node attached to "Failure" terminal of MQInput node?
ExceptionList is not available in "Failure" terminal of MQInput. It can be refered in "Catch" terminal instead. |
|
Back to top |
|
 |
Kraven12 |
Posted: Tue Apr 02, 2002 10:54 am Post subject: |
|
|
Novice
Joined: 21 Oct 2001 Posts: 21
|
It is currently attached to the failure of the input node. I tried it with a Catch Node and thought I was getting the same thing. I will try it again.
Thanks |
|
Back to top |
|
 |
Kraven12 |
Posted: Tue Apr 02, 2002 12:51 pm Post subject: |
|
|
Novice
Joined: 21 Oct 2001 Posts: 21
|
I guess I didn't have the "Catch" hooked up properly cause it's working now.
Thanks |
|
Back to top |
|
 |
abiram8 |
Posted: Fri Apr 05, 2002 4:27 am Post subject: |
|
|
 Master
Joined: 27 Mar 2002 Posts: 207 Location: India
|
Hi,
What is the ESQL you are using in the Trace Node To rectify the problem
|
|
Back to top |
|
 |
kirani |
Posted: Fri Apr 05, 2002 8:46 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
You can not rectify errors (manipulate message) in a trace node. To get the details of the error why your message failed, you can print Exceptionlist by typing
${ExceptionList}
in your trace node. Make sure you are specifying File as destination. If you don't specify this, WMQI will write trace to UserTrace area.
|
|
Back to top |
|
 |
|