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 » ^M Characters When Using FileOutput Node - V7

Post new topic  Reply to topic
 ^M Characters When Using FileOutput Node - V7 « View previous topic :: View next topic » 
Author Message
chinnureddy
PostPosted: Fri Oct 02, 2015 9:42 am    Post subject: ^M Characters When Using FileOutput Node - V7 Reply with quote

Newbie

Joined: 15 Sep 2013
Posts: 6

Hello All,

I have a message flow which takes an xml message and then will be transformed into a flat file, validated using message set and then FTP to other server using FileOutput Node.

When I check the files on Linux server(where broker is deployed) it has ^M characters on each record. Can someone tell how to get rid of them as the recipient system of the file can't comply with them?

Message Set - Header, Details & Trailer with Group Terminator as <CR><LF>
FileOutputNode - Records & Elements, Record Definition is "Record is whole File".
Is this due to delimiter being automatically set as Broker System Line End?

Thanks!!
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Oct 02, 2015 9:53 am    Post subject: Re: ^M Characters When Using FileOutput Node - V7 Reply with quote

Grand High Poobah

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

chinnureddy wrote:
Is this due to delimiter being automatically set as Broker System Line End?


No, it's due to your FTP settings not properly handling the transfer, mostly likely moving as binary not text between Windows and Linux.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Oct 02, 2015 10:02 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Are you sure you want the Group terminator to be <CR><LF> and not just <LF> ?
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
chinnureddy
PostPosted: Fri Oct 02, 2015 10:14 am    Post subject: Reply with quote

Newbie

Joined: 15 Sep 2013
Posts: 6

Vitor - I didn't quite get that, the msgflow is deployed on Linux and is SFTP the file to another Linux environment. If FileOutput is doing SFTP it does in binary mode only right ?

mqjeff - Yes.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Oct 02, 2015 10:23 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

chinnureddy wrote:
Linux and is SFTP the file to another Linux environment.


chinnureddy wrote:
mqjeff - Yes.


Are you sure?

Do you know which platform is correct for <CR><LF> ?

Is the output file going to actually be processed on Linux?
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » ^M Characters When Using FileOutput Node - V7
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.