CP Preprocessor

Note: The Integrated Preprocessor is supported for native COBOL only.

The CP preprocessor is designed to be used as a stacked preprocessor. It reads and expands source files (including copybooks), plus it returns additional information to the other preprocessors in the stack about the effect of REPLACE and REPLACING. It thus removes these quite complex functions from other preprocessors.

The CP preprocessor has the following restrictions:

For the CP preprocessor to perform its function and pass expanded source files to another preprocessor (such as COBSQL) the specification of CP must be nested within the specification of the other preprocessor. For example:

P(COBSQL) END-COBSQL P(CP) COMP5=YES ENDP