Enabling sequence number handling

Use the Sequence Numbers preference page to specify how sequence numbers are handled when you edit a file.

Procedure

You can open the Sequence Numbers page from the menu bar or from an edit session.

  1. From the menu bar, click Window (on Windows) or IBM Developer for z Systems (on macOS) Preferences, and then do the step:
    Click JCL > Editor > Sequence Numbers.
  2. From an edit session, right-click and select Source > Sequence Numers > Preferences.
    Tip: To enable sequence number handling from an edit session without changing any of the preference settings, click Source > Sequence Numers > Manage Sequence Numbers. This action enables sequence number handling, but does not open the preference page.
  3. To enable sequence number management, select the Manage sequence numbers check box.
    Select one or more of the following options.
    Enable Smart Copy
    Text in the sequence number and identification areas is replaced by spaces when you copy the text. If Insert sequence numbers into new lines is enabled, lines that are pasted into the file are renumbered.
    Enable Smart Join Lines
    Text in the sequence number and identification area and trailing white spaces are deleted when lines are joined.
    Insert sequence numbers into new lines
    Sequence numbers are inserted when you add new lines to a file.
    Resequence numbers when necessary
    This option controls what happens when Insert sequence numbers into new lines is enabled but there are not enough available numbers at the location where the new lines are inserted into the file. If this option is selected, surrounding lines are renumbered. If this option is cleared, no sequence numbers are added to the inserted lines.
  4. Click OK.