Author |
Message
|
Harshalw |
Posted: Fri Sep 19, 2008 3:56 am Post subject: ^M in Trace file |
|
|
Voyager
Joined: 23 Jul 2008 Posts: 77
|
Hi , I am developing a bar file on Windows with WMB 6.1 and deploying it on AIX box. Whenever I execute the application on aix, it creates the the trace file with '^M' character at the end of each line of the trace file. Here my trace file is user specific like have choosed the option - 'FILE' in the property box of TRACE file node.
Pls Let me know , what need to be set for avoiding ^M .
Thanks n Regards
Harshalw |
|
Back to top |
|
 |
wbi_telecom |
Posted: Fri Sep 19, 2008 4:47 am Post subject: |
|
|
 Disciple
Joined: 15 Feb 2006 Posts: 188 Location: Harrisburg, PA
|
The end of line characters come when you transfer the files across different operating systems. Change the option from ASCII to Binary (or other way around) when you FTP the file and you will get rid of ^M.
Cheers, |
|
Back to top |
|
 |
Harshalw |
Posted: Fri Sep 19, 2008 4:57 am Post subject: |
|
|
Voyager
Joined: 23 Jul 2008 Posts: 77
|
Yes i am transferring the bar file in BIN mode. Still it is creating the Trace file with ^M characters |
|
Back to top |
|
 |
wbi_telecom |
Posted: Fri Sep 19, 2008 5:20 am Post subject: |
|
|
 Disciple
Joined: 15 Feb 2006 Posts: 188 Location: Harrisburg, PA
|
Where are you viewing your trace file? Are you FTping that file back to windows ?
Cheers, |
|
Back to top |
|
 |
Harshalw |
Posted: Fri Sep 19, 2008 5:58 am Post subject: |
|
|
Voyager
Joined: 23 Jul 2008 Posts: 77
|
Viewing on AIX itself. Not moving to windows |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Sep 19, 2008 1:01 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
This is normal. You created your text file on windows with CRLF. You had it packaged in the bar file and you transferred that as a binary file to unix.
If you now extract your text file in Unix/Linux it still has CRLF instead of LF.
So it will display ^M at the end of the line. I have not seen it matter anywhere.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
AkankshA |
Posted: Sun Sep 21, 2008 9:43 pm Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
I also have a kinda similar concern
- specified in trace file pattern gets converted to ^Z on AIX...
no file ftp here.. i m deploying the same bar file on windows and AIX _________________ Cheers |
|
Back to top |
|
 |
Ravee Bhat |
Posted: Sun Sep 21, 2008 10:16 pm Post subject: |
|
|
Apprentice
Joined: 28 Apr 2004 Posts: 28 Location: Bangalore, INDIA
|
Guess no matter where the .bar comes from the trace that gets generated should not have it!
any settings on the viewer tool??!!
cheers
Ravee _________________ Lets go see The World. |
|
Back to top |
|
 |
|