This section defines the various formats which can be used to address columns and column ranges in EDT statements.
Operand | Definition |
col | int |
Column number which may have a value between 1
and 32768
. Nevertheless, some EDT statements demand a smaller col
value.
Operand | Definition |
cols | col[-col] |
A contiguous column range.
The second col
must not be smaller than the first. If it is not specified then the first col
may either designate the specified column or the range from col
through to the end of the line. Which of these applies can be found in the descriptions of the relevant statements.
If the second col
is specified and is greater than the line length then the column range extends through to the end of the line in question. The procedure adopted if the first col
is greater than the line length is specified in the descriptions of the relevant statements.
Operand | Definition |
cols* | col[-col] |
Column range in which the associated column number is specified relative to the end of the record. The rules specified for cols
apply equivalently to cols*
. However, the range col1-col2
for each line must be replaced by (linelength-col2+1
)-(linelength-col1+1
). If this results in negative column numbers, the value 1
should be used.