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 Additional Preprocessors 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. Click Project > Properties.
  2. Expand Micro Focus > Project Settings > COBOL.
  3. Click Additional Preprocessors.
  4. Select the preprocessor whose position you want to change.
  5. Click Up to move the preprocessor up the list and execution order.
  6. Click Down to move the preprocessor down the list and execution order.
  7. Check the Preprocessors directives field to verify the order of execution of the selected preprocessors.
  8. Click OK

Specifying the order of execution of multiple preprocessors for a build configuration

If you enable multiple preprocessors, they are executed in the order specified in the Additional Preprocessors 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. Click Project > Properties.
  2. Expand Micro Focus > Build Configurations > COBOL.
  3. Click Additional Preprocessors.
  4. Select the Build Configuration.
  5. Select the preprocessor whose position you want to change.
  6. Click Up to move the preprocessor up the list and execution order.
  7. Click Down to move the preprocessor down the list and execution order.
  8. Check the Preprocessors directives field to verify the order of execution of the selected preprocessors.
  9. Click OK

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 Additional Preprocessors 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 COBOL Explorer, right-click a COBOL program in your project, and click Properties.
  2. Click COBOL > Additional Preprocessors.
  3. Select the preprocessor whose position you want to change.
  4. Click Up to move the preprocessor up the list and execution order.
  5. Click Down to move the preprocessor down the list and execution order.
  6. Check the Preprocessors directives field to verify the order of execution of the selected preprocessors.
  7. Click OK
Previous Topic Next topic Print topic