Problem solve Get help with specific problems with your technologies, process and projects.

Transfer an ASCII file in XML format

How can I transfer an ASCII file in XML format coming from SCO Unix and POS Controller into an iSeries IFS folder?

I will divide my answers to two aspects:

1. Put the file on the iSeries IFS.

Putting the file on the iSeries can be done via FTP or even NFS mount, the iSeries can act as a FTP server and NFS server. Please note that in FTP you may choose correct name format to send the file to the IFS as follows:

ftp > quote site namefmt 1

2. Parse the XML

This can be done via Java classes that are fully supported on the iSeries with a product called XML extenders (available starting from V5R1), or you can use the XML wrapper that can be found here.


Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.

The Best Web Links: tips, tutorials and more.

Dig Deeper on FTP

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.