Line-Counter - Control Data Corporation 3300 Reference Manual

Computer systems usasi cobol/ master
Table of Contents

Advertisement

5.1.3
LINE-COUNTER
60229400
The fixed data name, LINE-COUNTER is generated automatically by the
Report Writer for each report. LINE-COUNTER determines when a page
heading and/or footing report group is to be presented and controls vertical
spacing of information on the page.
It
is a numeric item; and its size is
based on the number of lines per page specified in the PAGE LIMIT clause.
Initially, the line counter is set to zero by the Report Writer. It is auto-
matically tested and incremented during execution according to the PAGE
LIMIT clause and the values specified by the LINE NUMBER and NEXT
GROUP clauses in a report group description. The value of liNE-COUNTER
may be incremented with relative spacing, or it may be replaced with absolute
spacing.
If
relative spacing advances the line counter beyond the limits de-
fined in the PAGE liMIT clause, PAGE FOOTING is presented if appropriate
and the line counter is reset to zero (top-of-form). No additional setting is
made to the line COll..'1ter based on the relative line specification.
If
absolute
spacing causes the line counter to be less than or equal to the current line
number, the line counter is set to the requested absolute line number follow-
ing the generation of PAGE-FOOTING and PAGE-HEADING groups.
liNE-COUNTER may be referred to by Procedure Division statements;
however, if
it
is changed by a Procedure Division statement, page format
control may be unpredictable. If more than one line counter exists because
more than one Report Description entry is specified, LINE-COUNTER must
be qualified by a report name when it is referenced by a Procedure Division
statement.
The value of liNE-COUNTER during execution represents:
Last line number of previous report group
Last line number skipped by a previous NEXT GROUP specification
Zero, if at top of page
5-3

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 3300 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

3500

Table of Contents