The Logical Page And The Physical Page; Subtotals, Crossfoot Totals, And Rolled Forward Totals - Compaq COBOL AAQ2G1FTK User Manual

Compaq computer accessories user manual
Table of Contents

Advertisement

Figure 10–2 Subtotals, Crossfoot Totals, and Rolled Forward Totals
04−NOVEMBER−96
Salesman
−−−−−−−−− −−−−−−−−−−−−
************************* JANUARY REPORT ***************************
SMITH
JOHN
LEPRO
RONALD
BALLET
FRANCES
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
JANUARY TOTALS
SALARY
BONUS
TOTAL SALARY EXPENSE
TOTAL SALES
************************* FEBRUARY REPORT **************************
SMITH
JOHN
LEPRO
RONALD
BALLET
FRANCES
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
FEBRUARY TOTALS
SALARY
BONUS
TOTAL SALARY EXPENSE
TOTAL SALES
************************* YEAR TO DATE TOTALS ***********************
SALARY
BONUS
TOTAL SALARY EXPENSE
TOTAL SALES
−−−−−−−−−−−−−−−−−−−−−−− COMPANY CONFIDENTIAL −−−−−−−−−−−−−−−−−−−−−−−−−
−−−−−−−−−−−−−−−−−−−−−−− COMPANY CONFIDENTIAL −−−−−−−−−−−−−−−−−−−−−−−−−
−−−−−−−−−−−−−−−−−−−−−−− COMPANY CONFIDENTIAL −−−−−−−−−−−−−−−−−−−−−−−−−

10.4 The Logical Page and the Physical Page

A physical page is the paper page printed by your printer.
A logical page is conceptual, consisting of a page body and optionally a top
margin, footing, and bottom margin. Figure 10–3 and Figure 10–6 illustrate
the logical page structure for the conventional file report and linage file report,
respectively.
The number of lines on a logical page is defined by the number of lines on the
target physical page. Thus, the number of lines determines the size of the logical
page. When you design a report, you must choose those lines within the logical
page that are to be page headers (PH), control headers (CH), detail lines (DL),
control footings (CF), and page footings (PF). Once the framework of the logical
10.4 The Logical Page and the Physical Page
Year To Date Sales Report
Salary/Bonus
Client Name
−−−−−−−−−−−−−
$30,000.00
STREN
$10,000.00
TOM
$25,000.00
FOSTER
$10,000.00
FRANK
$20,000.00
O'BRIEN
$10,000.00
PAUL
$ 75,000.00
$ 30,000.00
−−−−−−−−−−−
$105,000.00
$30,000.00
STREN
$10,000.00
TOM
$25,000.00
FOSTER
$10,000.00
FRANK
$20,000.00
O'BRIEN
$10,000.00
PAUL
$ 75,000.00
$ 30,000.00
−−−−−−−−−−−
$105,000.00
$150,000.00
$ 60,000.00
−−−−−−−−−−−
$210,000.00
Producing Printed Reports
Page
Client Address
Total Sales
−−−−−−−−−−−−−− −−−−−−−−−−−−−
2742 NORTH ST.
$225,000.00
MANCHESTER, NH
967 HOOVER LANE
$195,000.00
CAMBRIDGE, MA
1001 HUGE DRIVE $ 15,000.00
MT. SNOW, VT
Salary subtotal
Bonus subtotal
Crossfoot total (salary + bonus)
$435,000.00
Subtotal
2742 NORTH ST.
$225,000.00
MANCHESTER, NH
967 HOOVER LANE
$195,000.00
CAMBRIDGE, MA
1001 HUGE DRIVE $ 15,000.00
MT. SNOW, VT
Salary subtotal
Bonus subtotal
Crossfoot total (salary + bonus)
$435,000.00
Subtotal
Salary rolled forward total
Bonus rolled forward total
Crossfoot total (salary + bonus)
Rolled forward total
$870,000.00
Producing Printed Reports 10–5
1
ZK−6080−GE

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents