Rules for Entering Line Commands

Line commands are normally entered into the field on the left of each data line.  This field may be referred to as the "line command area" or the "sequence number area".


This field has a default size of six columns, as in ISPF.  The size of this field can be adjusted from 5 to 8 columns, to handle special requirements you may have.  See Width of Line numbers (5-8) in Options - Screen for more information.


You may enter a line command by one of the following:






When you first start typing a command into the line number area, the cursor can be anywhere within the sequence-number field you see.  SPFLite will blank-out the entire area and move the cursor to the left side before entering the first character.  That way, there will be no leftover line-number characters to worry about when you key-in a line command, and you don't have to be that precise about where you start typing it.


The following rules apply to all line commands:



I[n]

Insert one or n temporary insert lines after this line.

N[n]

Insert one or n permanent lines after this line.

A[n]

Move or copy a line or lines one or n times after this line

AA[n]

Move or copy a line or lines after each nth line of a block

 

B[n]

Move or copy a line or lines one or n times before the last data line.

BB[n]

Move or copy a line or lines before each nth line of a block


Note:  The notation [n] just means the n value is optional; you don't actually type the [ or ] brackets after the line command.


Many line commands can take advantage of Extended Line Command Modifiers, as described in the next section.


Note:  As of version 8.0, when a line command is longer than 1 character, the "block mode" name of the command is formed by repeating the last letter.  For example, the command UC becomes UCC.  In the past, we also supported the "command doubling" method, where UC would become UCUC.  By supporting two different forms, this complicated the documentation for line commands unique to SPFLite, and causes issues for user-defined line commands implemented as macros.  To avoid those issues , we have chosen to simplify this, and only allow one way to make a command a "block mode" command, by repeating the last letter of the command name.


Created with the Personal Edition of HelpNDoc: Free Web Help generator