You can do a search on 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
Sent: Monday, July 25, 2005 2:51 AM
To: COBOL Programming on the iSeries/AS400
Subject: [COBOL400-L] Converting AS/400 files to XML?


I have been asked if I can deliver invoice-information on XML-format
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,
how do I transform it into XML?


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
To post a message email: COBOL400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: COBOL400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.