55 pts.
 AS400 Physical file conversion to xml file
Hi, i need to write an RPGLE program to convert an as400 physical file to an xml file. Does anyone have a sample code for it? Thanks in advance.

Software/Hardware used:
ASKED: July 2, 2009  5:10 AM
UPDATED: July 2, 2009  4:35 PM

Answer Wiki:
Scott Klement wrote an open source XML parser. You can find it here: http://www.scottklement.com/expat/ Also, you may find some examples here: http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/books_web/c0925076168.htm and here: http://www.google.com/search?hl=en&q=xml+%2Brpgle&aq=f&oq=&aqi=g1
Last Wiki Answer Submitted:  July 2, 2009  1:54 pm  by  Teandy   5,830 pts.
All Answer Wiki Contributors:  Teandy   5,830 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

If your xml is simple, you can also use SQL2XML. Just google it or lookup it in MCPressOnline.com, download the freeware and read the instructions. It’s quite easy to use.

Regards,
RVP400

 270 pts.