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 » Display message tree in user tarce

Post new topic  Reply to topic
 Display message tree in user tarce « View previous topic :: View next topic » 
Author Message
KIT_INC
PostPosted: Sat Oct 03, 2015 5:34 pm    Post subject: Display message tree in user tarce Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 589

I am using IIB V10. I have a esql function called from a map to get the value of a field. But it keep giving me a null value. I was hoping that I can use debug to set a break point just before the calling of the esql function so that I can examine the message tree passed to the esql function to determine why the field is Null. But I was told that I can not set break point inside a V10 map. I thought it was possible to do it in V7. Let me know if I can do it in V10.
Anyway I tried to use user user trace to debug. However I was wondering how I can display the message tree in the user trace. If it is not in the middle of a mapping node, I can insert a trace node and have the output send to the user trace. Is there any esql statement I can insert inside the esql function so that I can display the message treee in the user trace ?
Back to top
View user's profile Send private message
timber
PostPosted: Sun Oct 04, 2015 12:46 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1292

Quote:
But I was told that I can not set break point inside a V10 map. I thought it was possible to do it in V7. Let me know if I can do it in V10.
It was possible in a v7 map because the map was compiled into ESQL in v7. It's not possible in a v8/v9/v10 map.

However, you're lucky because the function that is malfunctioning ( so to speak ) is an ESQL function. So you should be able to find out why the ESQL function is returning NULL. Take a debug-level user trace, and look for the name of the function. User trace is usually *very* chatty about ESQL execution.

Alternatively, use XPath facilities to replace the ESQL function if possible. You may find that the bug disappears when you re-implement in XPath.

If all else fails, describe what the map/function are doing and see whether anyone on the forum can spot the mistake.
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 » Display message tree in user tarce
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.