Setting visual cues for record boundaries and cursor position

Use the Controls page of the System z® LPEX Editor preferences to set options for record boundaries and cursor column position.

Procedure

  1. Click Window > Preferences and expand LPEX Editor > System z LPEX Editor.
  2. Click Controls.
  3. You can set these options:
    • Enable visual indicator for record boundary: When you select this check box, the System z LPEX editor displays a vertical line along the record boundary of files. This setting helps you maintain record length limits when you are typing in a source file. This option is enabled by default. In the following example, the PRINTAPP.cbl file has a fixed record length of 80, marked by a vertical line:
      Record boundary indicator
      Note: This setting uses the save.textLimit LPEX parameter, which, for remote MVS™ files, is based on the record length (LRECL). For local files, the default save.textLimit value is 0, so the record boundary indicator does not display unless you change its value. It can be changed on the command line or by using the LPEX preference Window > Preferences > LPEX Editor > Save > Maximum line length.
    • Enable a vertical line that indicates cursor column position: When you select this check box, the System z LPEX editor displays a vertical line along the column at which the cursor is located. This setting is useful for checking that blocks of code are aligned properly. This option is disabled by default. The following example shows the cursor indicator at column 28:
      Cursor column indicator

Feedback