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 » Mapping node and custom trace / logging

Post new topic  Reply to topic
 Mapping node and custom trace / logging « View previous topic :: View next topic » 
Author Message
mogol
PostPosted: Mon Aug 10, 2015 11:04 pm    Post subject: Mapping node and custom trace / logging Reply with quote

Newbie

Joined: 03 Mar 2011
Posts: 9

Hello!

I used a mapping node, and customer want to have a possibility to enable debug for this node. He didn't need a standard IIB trace with a lot of service information, but very simple log message like "Field1 set to $value". It's need to investigate business issues, not issue with IIB.
I found a XPath function fn:trace, but I couldn't understand how it's work. The IIB Knowledge center send me to W3C description. W3C constantly refer to "implementation-defined". As result, I set a variable "value" to field value, label to custom text. But I couldn't find where it wrote this message (and if this function wrote it ). Standard trace file hasn't this message. No message in windows event log. In standard trace I see that this function is processed.

May be I missed some other possibilities? How could I log mapping routine? or I need another nodes before / after Mapping for this task?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Aug 11, 2015 4:41 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

If you need to see exactly what the mapping does, you should look at a user trace debug level.
Quote:
The Mapping node reports the running of a message map as detailed user trace events See http://www.ibm.com/support/knowledgecenter/SSMKHH_10.0.0/com.ibm.etools.mft.doc/cm40823_.htm?lang=en


Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mogol
PostPosted: Tue Aug 11, 2015 5:21 am    Post subject: Reply with quote

Newbie

Joined: 03 Mar 2011
Posts: 9

fjb_saper wrote:
If you need to see exactly what the mapping does, you should look at a user trace debug level.


I read about it. But it isn't that customer need. User trace is a tool for IIB developer, which need to trace / investigate an internals of IIB. Customer need a very simple debug information like this
Code:

Mapping node maps to Supplier name value: ACME
Mapping node maps to OrderTotal value: $200

It's much easy to read an business analytic, than a user trace. And at first glance, fn:trace provide the exact that I need. I could find a presentation for DataPower (most closed to IIB), and it's could do that, but I couldn't find, where it would write your message in case of IIB on Windows.
I googled but it's look like nobody nether used this function, or it worked without any problem
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Aug 11, 2015 5:29 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

So if you need the result of each individual mapping operation, the KC tells us this needs a user trace.
If you are happy just displaying the before and after result, a Trace node before and after the mapping node, with the relevant output should be sufficient.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mogol
PostPosted: Tue Aug 11, 2015 5:38 am    Post subject: Reply with quote

Newbie

Joined: 03 Mar 2011
Posts: 9

fjb_saper wrote:
So if you need the result of each individual mapping operation, the KC tells us this needs a user trace.
If you are happy just displaying the before and after result, a Trace node before and after the mapping node, with the relevant output should be sufficient.


I see... it's look like this function not working (or nobody knew how it work).
But I check a Trace node, may be it would be enough for customer
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Aug 11, 2015 5:45 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

mogol wrote:
I see... it's look like this function not working (or nobody knew how it work).


User Trace shows you exactly what you want.

If your run of User Trace does not show this, then you should apply the latest FixPack and open a PMR.

Unless you're on some level that has a really old Mapping node. Like v7.

Then you should abandon all hope until you're on IIB v9.
Back to top
View user's profile Send private message
mogol
PostPosted: Tue Aug 11, 2015 5:49 am    Post subject: Reply with quote

Newbie

Joined: 03 Mar 2011
Posts: 9

mqjeff wrote:
mogol wrote:
I see... it's look like this function not working (or nobody knew how it work).


User Trace shows you exactly what you want.

If your run of User Trace does not show this, then you should apply the latest FixPack and open a PMR.


User trace shows too much information for customer, he need much lesser information.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Aug 11, 2015 5:58 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mogol wrote:
User trace shows too much information for customer, he need much lesser information.


One of the benefits of the Mapping node is that it's visual, i.e. can be looked at and understood by a non-developer. If the business user wants to know what field maps to what, he can look an the map (or a screen shot of it if they don't have Toolkit).

If the user wants to know what happens for a specific input, they can work it out by reference to the data layouts.

The key question here is why the business user needs to see the kind of simplified mapping output you describe. What "business issue"? If it's "this field isn't getting the right value from this input", then see my comments above. If the map looks like it's doing the right thing, but the result is wrong, then it goes back to being an IIB issue where the full trace tells the tale.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mogol
PostPosted: Tue Aug 11, 2015 6:06 am    Post subject: Reply with quote

Newbie

Joined: 03 Mar 2011
Posts: 9

Vitor wrote:

The key question here is why the business user needs to see the kind of simplified mapping output you describe. What "business issue"? If it's "this field isn't getting the right value from this input", then see my comments above.

It's a migration project, when customer has a working workflow: operation team collect custom log in debug mode, which forward to business analytic (BA) for analyze. BA read log and make changes which send to developer.
Of course, I try to explain customer, that BA could check maps directly in Toolkit instead check log in Notepad++, but I am not sure in success.
I also could use Compute or JavaCompute node, but it lost a GUI easyness.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Aug 11, 2015 6:36 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Looks like the response from the business analysts here is:
We catered for 80% of our cases in our mapping documents...
Now we do have exceptions but they are not documented... So we need to see what went wrong in order to give you the mapping updates...

Could be that just the Trace node output of the message tree from before and after the mapping node might be sufficient?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Mapping node and custom trace / logging
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.