CICS ECM Preprocessor

The CICS command syntax is recognized by the CICS External Compiler Module (ECM) preprocessor, which runs as part of the program compilation step. The preprocessor scans the program source for EXEC CICS commands and replaces them with native statements for the language in which the program is written.

We provide two methods of invoking the CICS ECM:
  • On the COBOL tab in your Visual Studio project properties, check EXEC CICS (preferred method).
  • Set the CICSECM compiler directive when compiling on the command line, or in your program.