Get started Bring yourself up to speed with our introductory content.

How can I transfer an XML file to a physical file?

Can Client Access Express transfer an XML file to an iSeries physical file? We received CA Express V5R1 recently, but we are on OS/400 V4R5.

I don't need the tags. I just need the XML values mapped to the different fields in the physical file similar to how a comma separated file can be transferred to a physical file.

The DB2 UDB for iSeries Extenders LPP (new in V5R1) has a component called XML Extenders that can extract the data from an XML file and insert it into a physical file. You would FTP the file to the iSeries system, set up your mappings between XML tags and field names, then use the XML Extender functions and procedures to load your XML data into an iSeries physical file.

You can find some online education and a downloadable lab at this iSeries Developers Web site.


Search400.com's targeted search engine: Get relevant information on DB2/400.

The Best Web Links: tips, tutorials and more.

Check out this online event, Getting the Most out of SQL & DB2 UDB for the iSeries.

Kent Milligan, DB2 UDB for iSeries Technology Team PartnerWorld for Developers, iSeries kmill@us.ibm.com -- www.iseries.ibm.com/db2

Dig Deeper on iSeries SQL commands and statements