Previous Topic Next topic Print topic


Creating Preprocessors for Enterprise Developer

The Integrated Preprocessor Interface in Enterprise Developer enables you to write your own preprocessors that read the original source files and pass modified code to the COBOL Compiler. When you configure a project or a file to use additional preprocessors, the preprocessing is done before invoking the COBOL Compiler.

The Enterprise Developer documentation contains information on how to create your own preprocessors for use with Enterprise Developer. Choose General Reference > Integrated Preprocessor Interface from the Table-of-Contents for more information.

Preprocessor Requirements

When writing an additional preprocessor you must ensure that it:

  • Caters for setting any environment configurations required by the preprocessor itself or by any sub-modules. To achieve this, the preprocessor needs to read the configurations information in the registry for the ADDONS registry keys – see the information further in this document.
  • Does not assume that any environment variables have being set prior to invoking it.
  • Is responsible for ensuring that the code inserted in the user application is self-contained.
  • Does not assume that Enterprise Developer sets any environment variables before the preprocessor is called.
Previous Topic Next topic Print topic