SEQUENCE [col1 [col2]]/[base [incr]]/n [N|R] [F] SE
This command inserts numbers in specified columns of n consecutive lines.
The default setting begins the numbering with 1 and increases it by 1 in each step. If, for example, you want to fill 5 lines with the numbers 1 to 5, you enter the command
sequence /1 1/ 5
sequence //5
The numbers are written right-justified. As long as not specified differently, the needed column width is defined by the largest number that will be inserted and the field begins in column 1. By specifying the parameter col1 you can determine the starting column for the inserted numbers. If you specify col2 additionally, you determine the column width. By specifying F (fill), you demand that the columns of the inserted field are filled with zeros to the left. An example:
se5 7/8/3f
008
009
010
end of data
SEQUENCE exceeds 99999999 or field width