| Author | 
		  Message
		 | 
		
		  | lung | 
		  
		    
			  
				 Posted: Wed Jan 01, 2003 5:27 pm    Post subject: Carriage return in Trace? | 
				     | 
			   
			 
		   | 
		
		
		    Master
 
 Joined: 27 Aug 2002 Posts: 291 Location: Malaysia 
  | 
		  
		    
			  
				How do I insert a carriage return in the trace files? _________________ lung | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | kirani | 
		  
		    
			  
				 Posted: Wed Jan 01, 2003 7:02 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | lung | 
		  
		    
			  
				 Posted: Wed Jan 01, 2003 9:55 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | kirani | 
		  
		    
			  
				 Posted: Thu Jan 02, 2003 4:28 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | lung | 
		  
		    
			  
				 Posted: Thu Jan 02, 2003 4:48 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | kirani | 
		  
		    
			  
				 Posted: Thu Jan 02, 2003 5:09 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | lung | 
		  
		    
			  
				 Posted: Sun Jan 05, 2003 4:35 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Master
 
 Joined: 27 Aug 2002 Posts: 291 Location: Malaysia 
  | 
		  
		    
			  
				Ouch. _________________ lung | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |