lunes, 9 de noviembre de 2009

PI - Line Break Using Receiver File Adapter

En caso de que el line break de configuración por defecto no funcione correctamente puedes intentar con este Tip.

Tomado de: Foros SDN "Error in line break in a file adapter "

"... I have a problem with a file receiver adapter. In File Content Conversion I put 'nl' in the endSeparator parameter but when I see the "output.txt" file generated all data are put in same line separated by rectangular characters...

...I want write:

line1
line2
line2
...

If i open the notepad in the file appears:

line1line2line3..."

Respuesta:

"...Try putting the following value (including the quotation marks) for the endSeparator parameter in the file receiver adaptor:

'0x0D''0x0A'

These are ASCII characters for CR & LF..."

No hay comentarios: