Specifying the Processing Environment

The COBOL Analyzer parser autodetects the environment in which a file is intended to execute, based on the environment-related code it finds in the file. To ensure correct data flow, it sets up the internal parse tree for the file in a way that emulates the environment on the mainframe.

For Cobol CICS, for example, the parser treats an EXEC CICS statement or DFHCOMMAREA variable as CICS-related and, if necessary:

Autodetection is not always appropriate. You may want the parser to treat a file as a transaction-processing program even in the absence of CICS- or IMS-related code, for example. For each autodetected environment on the Project Verification options tab, select: