Hi,
Requesting your kind help for the following.
My Requirement: I want to convert a physical file data into XML using RPGLE. I want a step by step sample please.
The output data will be placed in IFS folder.
Data in PF is as follows:
100012444567
AAAABBBBCCCC
DDDDEEEEFFFF
XML Format:
<HEADER>
<REC>
<TD>1000</TD>
<MD>1244</MD>
<FD>4567</FD>
</REC>
<REC>
<TD>AAAA</TD>
<MD>BBBB</MD>
<FD>CCCC</FD>
</REC>
<REC>
<TD>DDDD</TD>
<MD>EEEE</MD>
<FD>FFFF</FD>
</REC>
</HEADER>
Thanks a lot.
Requesting your kind help for the following.
My Requirement: I want to convert a physical file data into XML using RPGLE. I want a step by step sample please.
The output data will be placed in IFS folder.
Data in PF is as follows:
100012444567
AAAABBBBCCCC
DDDDEEEEFFFF
XML Format:
<HEADER>
<REC>
<TD>1000</TD>
<MD>1244</MD>
<FD>4567</FD>
</REC>
<REC>
<TD>AAAA</TD>
<MD>BBBB</MD>
<FD>CCCC</FD>
</REC>
<REC>
<TD>DDDD</TD>
<MD>EEEE</MD>
<FD>FFFF</FD>
</REC>
</HEADER>
Thanks a lot.
Comment