Pathway/iTS SCREEN COBOL Reference Manual (H06.10+, J06.03+)
Data Division
HP NonStop Pathway/iTS SCREEN COBOL Reference Manual—426750-003
5-44
Field-Characteristic Clauses
columns-phrase
is:
IN
literal-1
COLUMNS { OFFSET } {
literal-k
} ,...
{ SKIPPING }
lines-phrase
is:
ON
literal-2
LINES [ SKIPPING
literal-3
]
IN...COLUMNS, ON...LINES
determines the number of field occurrences, the location of each field occurrence,
and the ordering of the field occurrences.
literal-1
is a numeric literal that specifies the number of field occurrences on a line.
literal-k
is a numeric literal that specifies the horizontal spacing of the field columns.
When OFFSET is specified,
literal-k
is the number of spaces between the first
column of a field occurrence (
literal-1
) and the first column of the next field
occurrence (
literal-1
+1) on the same line.
When SKIPPING is specified,
literal-k
is the number of spaces between the
last column of a field occurrence (column k) and the first column of the next field
occurrence (column k+1) on the same line. There can be at most (
literal-1
) -1
separations. If there are fewer separations, the last
literal-k
is used
repeatedly. No separation is required after the last literal.
literal-2
is a numeric literal that specifies how many lines contain occurrences.
literal-3
is a numeric literal that specifies how many lines are skipped between lines
containing occurrences of the field.
DEPENDING
indicates that the number of occurrences is variable.
data-name-1
is the unsubscripted name of an elementary numeric item where the current
number of occurrences is defined. This item must be defined in the Working-
Storage Section or Linkage Section. On input (execution of an ACCEPT
statement), this item is set. On output (execution of a DISPLAY statement), this
item is used to define the number of values output. If FILL and OCCURS clauses










