COBOL Manual for TNS and TNS/R Programs

Data Division
HP COBOL Manual for TNS and TNS/R Programs522555-006
7-24
File Description Entries
Usage Considerations:
Correspondence
Each rec-name specified in the DATA RECORDS clause must correspond to
some level-01 name in the list of record description entries. Order is not important.
The converse is not true; level-01 entries can exist among the record description
entries without their names appearing in the DATA RECORDS clause.
FILLER Keyword and the DATA RECORDS Clause
Although a record description can, except in certain circumstances, be named
FILLER or have no name at all (the implicit FILLER), the name FILLER cannot
appear as a rec-name in the DATA RECORDS clause.
LINAGE Clause
The LINAGE clause controls where data is printed on a page. Top and bottom margins
and a body area with an optional footing area within it are defined in terms of the
number of lines each has.
body
is either an unsigned integer literal or the data-name of an elementary unsigned
numeric integer data item. Its value is the number of lines that can be written on a
logical page, so it must be greater than 0.
LINAGE
IS
body
LINES
WITH
foot
FOOTING
AT
LINES
LINES
top
TOP
AT
bottom
BOTTOM
AT
VST086.vsd