Page-Counter; Data Division Entry Formats - Control Data Corporation 3300 Reference Manual

Computer systems usasi cobol/ master
Table of Contents

Advertisement

5.1.4
PAGE-COUNTER
5.2
DATA DIVISION
ENTRY FORMATS
5-4
PAGE-COUNTER is a fixed data name automatically generated by the Report
Writer as a data item to number the pages within a report. One numeric
page counter is supplied for each report. The size of the counter is specified
by the PICTURE clause associated with the first elementary data item that
uses PAGE-COUNTER as a source.
If
PAGE-COUNTER is given as a source
in more than one item, each PICTURE clause must specify the identical num-
ber of numeric characters. The size must be sufficient to prevent overflow.
PAGE-COUNTER may be referenced from the Procedure Division.
If
more
than one Report Description entry exists, PAGE-COUNTER must be qualified
by the report name when referenced. It must not be qualified when used as
a source in the Data Division.
The page counter is automatically preset to one by the Report Writer.
If
a
starting value greater than one is desired, the contents of the page counter
can be changed with a Procedure Division statement following the INITIATE
statement.
The page counter is automatically incremented by one each time a page break
occurs.
It
is incremented after page footing and before a page heading is
generated.
Format specifications used in the Report Writer are defined in this section.
Each report must be named in the File Section and described in the Report
Section of the Data Division. Statements which generate a report are speci-
fied in the Procedure Division.
60229400

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