cancel
Showing results for 
Search instead for 
Did you mean: 

Remove newline character in File Adapter

Former Member
0 Kudos

I am having a receiver File Adapter which generates file with multiple lines.

But my requirement is when the target file is opened in notepad there is no line break and the lines come as a continuous string as a target upload program.(The documentation says the by-default it adds new line character  but is there any way to remove this in notepad and it opens as a continuous string?)

At present we are getting the data in below format:

But expectation is in the below format:

where data marked in yellow is the newline data coming as a continous string.

Please help me out in the issue.

Regards,

Ramlaxmi

Accepted Solutions (0)

Answers (3)

Answers (3)

suchitatomar
Participant
0 Kudos

Hi Ram LAxmi,

use below

  • <node>.endSeparator – identifies end of record as 'nl' .

Also if possible share structure of source.

Regards

S Tomar

bhavesh_kantilal
Active Contributor
0 Kudos

I see the thread has been closed Assumed Answered. It would be appreciated if you mark the answer in this thread so anyone in future referring to this thread has the answer to it!

Regards

Bhavesh

Former Member
0 Kudos

Hi Bhavesh,

Thank you for the reply.

I have already tried with the above option mentioned by you but it was not working.Still we are getting the file in the new line format.

Regards,

Ramlaxmi

bhavesh_kantilal
Active Contributor
0 Kudos

Can you please share a screen shot of the File Content Conversion?

Also - if the issue is not resolved, please mark the thread appropriately!

Regards

Bhavesh

Former Member
0 Kudos

Please find the Screenshot

This is my first time posting for a blog. I am unaware of how to change the status. Could you please help me in this how can I change my thread?

suchitatomar
Participant
0 Kudos

Hi RamLaxmi,

Here u go.. 🙂

How to close a discussion and why

Regards

S Tomar

bhavesh_kantilal
Active Contributor
0 Kudos

Check your receiver File Adapter.There will be a Content Conversion Parameter called End Separator. This should currently be 'nl' to denote a new line.

Change this to the value you want this and this will be the new End Separator for your records.