cancel
Showing results for 
Search instead for 
Did you mean: 

Carriage return and line feed (Receiver file adapter)

Former Member
0 Kudos

Hi Guys

I want to apply both carriage return and the line feed in my receiver file content conversion endseparator parameter.

any idea how can we set both of them?

Regards

Dheeraj

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi Dheeraj,

you can try hexadecimal values in the endseparator:

- new line (line feed) - hex byte <b>0x0A</b>

- return - hex byte <b>0x0D </b>

they work too

Regards,

michal

Former Member
0 Kudos

Hi michal

can't i use both '0x0A' and '0x0D' together in my endseparator?

my receving system is cobol, and i guess it is not able to understand normal 'nl'

any suggestions?

Dheeraj

Former Member
0 Kudos

Did you try putting both of them in EndSeparator, with a comma in between?

Former Member
0 Kudos

Hi Keith

actually it worked, thanks for the idea, but i did not put the comma in between rather given the value as

'0x0D''0x0A'

Thanks

Dheeraj

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Dheeraj,

\n will work

All normal Java related settings will work like \t (for tab), \n (for newline) etc

Sometimes, normal editors like notepad may not show the newlines. you can check with something like textpad, ultraedit, edit plus etc.

Regards

Vishnu