IBM Support

What must be Odette FTP Record Delimiter, while transferring files from Unix to Windows?

Question & Answer


Question

Odette FTP Logical Partner Contract has a parameter to define Record Delimiter. What value should it be set to while doing Odette FTP outbound from SB2Bi on Unix to Widows based Odette FTP software?

Answer

We want file transfer logic to inject record delimiter at the end of each outgoing DATA record so that CR (Carriage Return on Unix) be converted to CRLF (Carriage Return Line Feed on Windows) on destination.

Record Delimiter must be set to 10,-1 in this case. Where as File Format can be either Fixed or Variable based on type of files you are transferring over.

If you want to override these settings in outbound OFTP BP and do not want to use values in Logical Partner Contract, it is possible by setting respective properties in Data Set.

e.g.,
<assign to="OFTPDataSet/DataItem_1/properties/FileFormat">V</assign>
<assign to="OFTPDataSet/DataItem_1/properties/RecordDelimiter">10,-1</assign>

[{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Adapters","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"5.2;5.2.1;5.2.2;5.2.3;5.2.4;5.2.5;5.2.6","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
09 January 2020

UID

swg21997099