Compile the program

The generation of an XML-format symbol table is controlled by the XMLGEN compiler directive of the Visual COBOL compiler.

Compile the program with the following command line:

cob getstarted.cbl xmlgen(ws) noobj

Note: If the data structure of interest is defined in the file section of the COBOL program, omit the "ws" parameter in the xmlgen directive.