The generation of an XML-format symbol table is controlled by the XMLGEN compiler directive of the Visual COBOL compiler.
The following steps assume you are running in a Visual COBOL 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;