You can do a search on mcpressonline.com for sql2xml. This is an RPG program that will take any Select sql statement passed in and put the result set of data into an XML file. It is a great program to get data into XML format. It was written by Giuseppe Costagliola. He also has one for a CSV file. Hope this helps. -----Original Message----- From: cobol400-l-bounces@xxxxxxxxxxxx [mailto:cobol400-l-bounces@xxxxxxxxxxxx] On Behalf Of geir.kildal@xxxxxxxxxxxxxxx Sent: Monday, July 25, 2005 2:51 AM To: COBOL Programming on the iSeries/AS400 Subject: [COBOL400-L] Converting AS/400 files to XML? Hello. I have been asked if I can deliver invoice-information on XML-format from an AS/400 COBOL-application. Does anyone of you know the best way of doing this? I'll make a flat file on the AS/400 containing the information needed, but how do I transform it into XML? Mvh. Geir Kildal TietoEnator AS Tlf . . : (+47) 611 73805 Mob. : (+47) 90 10 13 16 eMail: geir.kildal@xxxxxxxxxxxxxxx _______________________________________________ This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing list To post a message email: COBOL400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/cobol400-l or email: COBOL400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/cobol400-l.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.