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 » Carriage return in Trace?

Post new topic  Reply to topic
 Carriage return in Trace? « View previous topic :: View next topic » 
Author Message
lung
PostPosted: Wed Jan 01, 2003 5:27 pm    Post subject: Carriage return in Trace? Reply with quote

Master

Joined: 27 Aug 2002
Posts: 291
Location: Malaysia

How do I insert a carriage return in the trace files?
_________________
lung
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
kirani
PostPosted: Wed Jan 01, 2003 7:02 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Hi Lung,

Not sure if i understand your question.

Let's say, you have following code in the Trace node:
Code:

Line1
${Root}
Line2


This will put carriage return char after each line.
Is this is what you wanted?
_________________
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
View user's profile Send private message Visit poster's website
lung
PostPosted: Wed Jan 01, 2003 9:55 pm    Post subject: Reply with quote

Master

Joined: 27 Aug 2002
Posts: 291
Location: Malaysia

Yes, kiran... Let's say in my trace node, I put
Code:
--this is the localenvironment--
${LocalEnvironment}
--this is the root--
${Root}

Now assuming the message that passes thru this node has both localenvironment and root, the trace looks nice. But if the message does not contain any localenvironment, this is what appears in the trace...
Code:
--this is the localenvironment----this is the root--
.
.
.

I want to put a carriage return AFTER '--this is the local environment--'... So how do I do this? Thanks!
_________________
lung
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
kirani
PostPosted: Thu Jan 02, 2003 4:28 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Well, I tried following on my box (WMQI 2.1 CSD4 on WIN2K):

Trace node's Pattern:
Code:

**
${CURRENT_TIMESTAMP}
${Root}
**
First Line
Second Line
Exception Tree
${ExceptionList}
Last Line



Following is the Trace output:
Code:

**
2003-01-02 16:49:09.281
(
  (0x1000000)Properties = (
  ....
)
**
First Line
Second Line
ExceptionList Tree

Last Line



As you can see here, the ExceptionList tree was empty and the text following ${ExceptionList} was printed on a new line.

On which platform did you see this 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
View user's profile Send private message Visit poster's website
lung
PostPosted: Thu Jan 02, 2003 4:48 pm    Post subject: Reply with quote

Master

Joined: 27 Aug 2002
Posts: 291
Location: Malaysia

The broker and the trace files are all located on an OS/390 box (running on USS LPAR). Strange, eh?
_________________
lung
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
kirani
PostPosted: Thu Jan 02, 2003 5:09 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

looks like a bug! Try opening a PMR for this 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
View user's profile Send private message Visit poster's website
lung
PostPosted: Sun Jan 05, 2003 4:35 pm    Post subject: Reply with quote

Master

Joined: 27 Aug 2002
Posts: 291
Location: Malaysia

Ouch.
_________________
lung
Back to top
View user's profile Send private message Send e-mail 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 » Carriage return in Trace?
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.