PL/I

This section describes some of the advanced options that are available for the PL/I language.

PL/I Formatting Options

Options are available for PL/I for changing Syntax Indent and Syntax Expansion styles. To access these options, from the main menu, click Window → SlickEdit Preferences → Languages, expand Mainframe Languages > PL/I, then click PL/I Formatting Options..

Note

Languages similar to PL/I may have similar Formatting Options screens that are not specifically documented.

The following options are available:

  • DO/END style - Select the syntax expansion style that indicates whether syntax expansion should place the DO on a separate line. Then select from the following options:

    • Insert DO/END immediately - Indicates whether syntax expansion should automatically add a DO/END block.

    • Insert blank line between DO/END - Indicates whether syntax expansion should insert a blank line when a DO/END block is inserted.

  • Keyword case - Specifies the case of keywords used by Syntax Expansion. For example, when you type the word "procedure" and the Keyword case is set to Upper case, the editor changes "procedure" to "PROCEDURE".

  • Indent WHEN from SELECT - Indicates whether the WHEN clause inside a SELECT statement should be indented.

  • SPF style line numbering (columns 73-80) - When selected, expect line numbers in columns 73 through 80 when renumbering lines.

  • Code margins - Indicates where the margins are for PL/I source. These values are set to 2 and 72 by default. Any code, comments, sequence numbers, or printer control characters outside of these margins will be ignored by the language support in SlickEdit Core. This setting will be overridden for a particular file should the file contain a preprocessor "MARGINS" statement.