Skip to main content

Sending Fixed Length files with OFTP


Technote (troubleshooting)


Problem(Abstract)

How can fixed length files be sent with OFTP

Symptom

The Trading Partner receiving the data file runs a Host Application that requires fixed length records


Resolving the problem

Since the records in the target system have a fixed length, it is necessary to:-

  • remove Carriage Returns (CR) or Linefeeds (LF) from the data to be sent, since the target system would consider these as regular characters and not as control characters
  • make sure that after removing the LFs and CRs the length of the file is a whole-number multiple of the record size that has been agreed with the trading partner and which is configured in your system. This can be values like 80 or 128 characters per record

So for a 80 character record length, the transmitted file length can have sizes such as. 240, 320 bytes, but not 241 or 319.

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Sterling B2B Integrator

Adapters


Software version:
5.0, 5.1, 5.2, 5.2.1, 5.2.2, 5.2.3, 5.2.4, 5.2.4.1


Operating system(s):
All


Reference #:
1626491


Modified date:
2013-03-04

Translate my page

Content navigation