Rational Developer for System z

Select one or more preprocessors to execute before a compilation

You can select multiple local preprocessors to execute before a compilation.

Before you begin

You need to have defined a property group on a local or remote system and to have defined one or more preprocessors in the property group.

Linux icon For PL/I files, Rational® Developer for System z® does not support local preprocessors on the Linux platform.

Procedure

To select one or more preprocessors to execute before a compilation:

  1. Open a property group in the property group editor.
  2. Navigate to the Local Preprocessors tab of the Local COBOL Settings or Local PLI Settings page.
  3. In the Preprocessors section, click the check box beside each preprocessor you want to execute. You can select up to 10 local preprocessors for a single build operation. The preprocessors are executed in the order shown in this list. If no preprocessors are selected, then the source file is compiled without the preprocessor step.
  4. To change the order in which the preprocessors execute, highlight a preprocessor name in the list and click Up or Down. The last preprocessor selected in the list is the last preprocessor executed. The output of that preprocessor, which is the name of the file in the Preprocessor Output File Name field is the name of the file passed to the COBOL or PL/I compiler.
  5. Click Ctrl+S to save your changes.

Feedback