Configuring Which Preprocessor Statements are Ignored by the PL/I Parser

In cases when mainframe PL/I code is offloaded and this code then gets compiled back on the mainframe, you can prevent specific PL/I macro statements from being parsed by the PL/I parser for code that is currently in the PL/I editor.

  1. Click Window > Preferences > Micro Focus > PL/I > Editor > Ignore Statements. The Ignore Statements page appears, showing the current list of statements to be ignored by the PL/I Background parser. This includes a set list of default statements and any added statements.
  2. Do one of the following:
    • To add a statement to the list of ignored statements: Click Add and enter the name of a valid preprocessor statement in the Add a Statement dialog box. Click OK to add the statement to the list.
    • To delete a statement from the list: Select the statement and click Remove.
    • To edit the name of an existing statement: Select the statement and click Edit, then edit the statement token in the Edit a Statement dialog box.
    • To share a list of ignored statements: Click Export to create an .xml file that can be shared with other users, or click Import to search for and import a file containing another user's list of ignored statements.
    • To use the original default list of statements: Click Restore Defaults.
  3. Click OK to close the Ignore Statements page and save any changes made.