Hi guys, can anyone please give me an example with a RPGLE program for building an XML file directly on AS400?
I will have to do this thing but I never made since now, I don't know if it is possible to make XML file directly to AS400, the request is to build an XML file with some informations and then send the XML file to another server. The solution I guess it is possible to work is to make a program who reads the necessary files and build an output file (it will be a physical file on AS400) with one field or flat file and put the tags for XML file, something like that, to have the necessary structure for XML file and then I can make the FTP to transfer the file and I assume that on the second server it will goes well and it will recognize as XML, this is the solution that I think I can make, with physical file build with tags and after transferred.
If exist a possibility to make directly XML and not hard-coding the tags into a flat file by program please help me with a small example.
L.E. I'm not allowed to install open source software on my IBM i, I have to develop a program to make XML file and do not use some tools for this, CGIDEV or other, my version of OS is V7R1, I found some information that I can make with SQL this thing on V7R1?
I will have to do this thing but I never made since now, I don't know if it is possible to make XML file directly to AS400, the request is to build an XML file with some informations and then send the XML file to another server. The solution I guess it is possible to work is to make a program who reads the necessary files and build an output file (it will be a physical file on AS400) with one field or flat file and put the tags for XML file, something like that, to have the necessary structure for XML file and then I can make the FTP to transfer the file and I assume that on the second server it will goes well and it will recognize as XML, this is the solution that I think I can make, with physical file build with tags and after transferred.
If exist a possibility to make directly XML and not hard-coding the tags into a flat file by program please help me with a small example.
L.E. I'm not allowed to install open source software on my IBM i, I have to develop a program to make XML file and do not use some tools for this, CGIDEV or other, my version of OS is V7R1, I found some information that I can make with SQL this thing on V7R1?






Comment