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 » Message number in trace node

Post new topic  Reply to topic
 Message number in trace node « View previous topic :: View next topic » 
Author Message
shalabh1976
PostPosted: Mon Dec 20, 2004 3:56 am    Post subject: Message number in trace node Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

I want to see the message number specified in the trace node in my output trace file. Is this possible and if yes, what is the significance of the same ?
_________________
Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
wolstek
PostPosted: Mon Dec 20, 2004 9:05 am    Post subject: Reply with quote

Acolyte

Joined: 25 Jun 2001
Posts: 52
Location: Bristol, UK

You can put any value from the current message or tree by placing it in the trace node with syntax ${...}
So if assuming you mean the MQMD msgid then you would need something like the following in your trace node
Code:

Message Identifier = ${Root.MQMD.MsgId}


This will simply put the line above into the output file replacing the ${..} withi the actual value
Back to top
View user's profile Send private message
JT
PostPosted: Mon Dec 20, 2004 9:32 am    Post subject: Reply with quote

Padawan

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

Quote:
I want to see the message number specified in the trace node in my output trace file.

When you refer to the message number, I assume you mean the configurable parameter in the Trace node and not the message identifier in the message header, as noted in the previous post. The default message number is 3051, so if you wanted to see that valued produced in your output trace file, you would add any text that displays the value into the Pattern section of the trace node:

Code:
Message number = 3051

I don't believe there is a variable that you can use as a pattern, to reference the value entered in the Message Number textbox of the Trace node. However, you could set an Environment variable prior to the Trace node, say in a Compute node, and then reference that element in the Pattern section (though, I don't believe you would be able to use that Environment variable in the Message Number textbox).

Code:
Message number = ${Environment.Variable.MessageNumber}
Back to top
View user's profile Send private message
shalabh1976
PostPosted: Thu Dec 23, 2004 10:31 pm    Post subject: Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

I still did not understand the significance of message number in this node.
Also it does not make sense to set it in a compute node prior to the flow coming to the trace node and then resetting it there once more. I can specify any different value for all I care but this value will not be displayed.
_________________
Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Message number in trace node
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.