Look for a statement as MOVE-CORRESPONDING, but that will use some implicit rule for Conversion Rules for Elementary Data Objects.
Hint: You could then consider WRITE statement, but there is no CORRESPONDING options, so you should either delcare very field or use some ASSIGN COMPONENT statement.
Youy should also consider generation of a XML file and no longer those good old flat files with or without separator.
Regards,
Raymond