XML generation

Top  Previous  Next

As described before, the first step of a file conversion, is the generation of an XML definition of the record structures. The XML definition contains the properties of all the fields in the structure.

The tool "cpy2xml" analyze the COBOL description of the record structure and converts it into XML.

To build the description of a single file, it can analyze one or more COBOL copybooks even containing one or more level 01 items.

I.e.

# cpy2xml -o FILEREC.xml FILEREC.cpy