Compile the program

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

The following steps assume you are running in a Enterprise Developer Command Prompt on Windows. UNIX commands are shown at the end of all of the steps.

Compile the program with the following command line:

cobol 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.