Tuesday, May 25, 2021

File reading issue from AS400 / OS400 / i Series IFS EBCDIC data in SOA FTP adapter

 Hi,


Seen an issue while reading file from AS 400 IBM IFS file system via FTP.

The file gets converted to unreadable (Data corruption) format whether it is read by File Polling or Sync Read operations irrespective of Opaque or Native translate setup.


To fix the issue below changes were made:

1.    Update outbound connection with below 2 properties

            ListParserKey=OS400

            EnforceFileTypeFromSpec=true


2.    File type should be ASCII in adapter jca file or composite.xml

            <property name="FileType" value="ascii"/>