Specifying the Processing Environment

The Enterprise 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 example, for COBOL CICS, the parser treats an EXEC CICS statement or DFHCOMMAREA variable as CICS-related and, if necessary:

Autodetection is not always appropriate. For example, you might want the parser to treat a file as a transaction-processing program even in the absence of CICS or IMS-related code. For each autodetected environment on the Options - Project properties dialog box Verification tab, select:

Auto
If you want the parser to autodetect the environment for the file.
Yes
If you want to force the parser to treat the file as environment-related even in the absence of environment-related code.
No
If you want to force the parser to treat the file as unrelated to the environment even in the presence of environment-related code. The parser classifies environment-related code as a syntax error.