Setting typing preferences

Use the Typing preference page to set options that automate file formatting as you type in a JCL file.

Procedure

  1. Click Window > Preferences > Editor > Typing.
  2. In the Automatically continue statement area, you can enable options for adding "//" and the appropriate indentation to new lines. The following descriptions explain the effect of enabling these options. Each of these options is enabled by default.
    Within a continuing comment field
    When you insert a new line after the trailing comment of a JCL statement, and that statement has a continuation character in column 71, then the new line is prefixed with “//” and the indentation of the new line is adjusted to match the indentation of the previous line.
    Within a quoted string or after an unclosed quoted string
    When you insert a new line within a quoted string or after an unclosed string (a line that has no end quotation at the end), then the new line is prefixed by “//” and the new line is indented to column 16.
    After an incomplete parameter list
    When you insert a new line after a comma in a JCL statement parameter list, and before another character that is part of the parameter list, the new line is prefixed by “//” and the indentation of the new line is adjusted to match the indentation of the previous line. The line is not indented past column 16.
  3. In the Comment fields area, you can enable options for adding comments to a JCL file.
    "Toggle Comment Continuation" chacacter
    Specify a character to be used as the continuation character. This field must not be blank. For more information about the Toggle Comment Continuation action, see the related topics.
    Copy continuation character into the current line
    When you insert a new line into a trailing comment of a JCL statement, and that statement has a continuation character in column 71, then the line that is split is padded with spaces up to column 71. The same continuation character that used to be on that line is inserted into the new line. The new line contains the original continuation character. The original continuation character remains in column 71 only if the Manage sequence numbers preference is enabled. For more information about the Manage sequence numbers preference, see the related topics.

Feedback