Previous Topic Next topic Print topic


Specifying the order of execution for multiple preprocessors

Specifying the order of execution of multiple preprocessors for a project

If you enable multiple preprocessors, they are executed in the order specified in the Preprocessors tab in the project's properties. The preprocessor at the top of the list is executed first, moving sequentially down the list.

To change the position of a preprocessor in the list:

  1. In Solution Explorer, click the project whose properties you want order.
  2. Click Project > project_name > Properties.
  3. Click the Preprocessors tab in the left side of the IDE to open the preprocessors properties page.
  4. On the Preprocessors tab in your project's properties, select the preprocessor whose position you want to change.
  5. Click Move Preprocessor Priority Up to move the preprocessor up the list and execution order.
  6. Click Move Preprocessor Priority Down to move the preprocessor down the list and execution order.
  7. Check the Preprocessor Directives field to verify the order of execution of the selected preprocessors.

Specifying the order of execution of multiple preprocessors for a file

If you enable multiple preprocessors, they are executed in the order specified in the Preprocessors tab in the project's properties. The preprocessor at the top of the list is executed first, moving sequentially down the list.

To change the position of a preprocessor in the list:

  1. In Solution Explorer, right-click a COBOL program in your project, and click Properties.

    This opens the program's Property Pages dialog box.

  2. Click the Preprocessors option in the left side of the program's Property Pages to display the preprocessors properties.
  3. On the Preprocessors Property Pages, select the preprocessor whose position you want to change.
  4. Click Move Preprocessor Priority Up to move the preprocessor up the list and execution order.
  5. Click Move Preprocessor Priority Down to move the preprocessor down the list and execution order.
  6. Check the Preprocessor Directives field to verify the order of execution of the selected preprocessors.
Previous Topic Next topic Print topic