4 the logical page and the physical page – Compaq COBOL AAQ2G1FTK User Manual

Page 305

Advertising
background image

Producing Printed Reports

10.4 The Logical Page and the Physical Page

Figure 10–2 Subtotals, Crossfoot Totals, and Rolled Forward Totals

04−NOVEMBER−96 Year To Date Sales Report Page 1
Salesman Salary/Bonus Client Name Client Address Total Sales
−−−−−−−−− −−−−−−−−−−−− −−−−−−−−−−−−− −−−−−−−−−−−−−− −−−−−−−−−−−−−
************************* JANUARY REPORT ***************************

SMITH $30,000.00 STREN 2742 NORTH ST. $225,000.00
JOHN $10,000.00 TOM MANCHESTER, NH

LEPRO $25,000.00 FOSTER 967 HOOVER LANE $195,000.00
RONALD $10,000.00 FRANK CAMBRIDGE, MA

BALLET $20,000.00 O’BRIEN 1001 HUGE DRIVE $ 15,000.00
FRANCES $10,000.00 PAUL MT. SNOW, VT
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
JANUARY TOTALS
SALARY $ 75,000.00
BONUS $ 30,000.00
−−−−−−−−−−−
TOTAL SALARY EXPENSE $105,000.00

TOTAL SALES $435,000.00
************************* FEBRUARY REPORT **************************

SMITH $30,000.00 STREN 2742 NORTH ST. $225,000.00
JOHN $10,000.00 TOM MANCHESTER, NH

LEPRO $25,000.00 FOSTER 967 HOOVER LANE $195,000.00
RONALD $10,000.00 FRANK CAMBRIDGE, MA

BALLET $20,000.00 O’BRIEN 1001 HUGE DRIVE $ 15,000.00
FRANCES $10,000.00 PAUL MT. SNOW, VT
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
FEBRUARY TOTALS
SALARY $ 75,000.00
BONUS $ 30,000.00
−−−−−−−−−−−
TOTAL SALARY EXPENSE $105,000.00

TOTAL SALES $435,000.00
************************* YEAR TO DATE TOTALS ***********************

SALARY $150,000.00
BONUS $ 60,000.00
−−−−−−−−−−−
TOTAL SALARY EXPENSE $210,000.00

TOTAL SALES $870,000.00

−−−−−−−−−−−−−−−−−−−−−−− COMPANY CONFIDENTIAL −−−−−−−−−−−−−−−−−−−−−−−−−
−−−−−−−−−−−−−−−−−−−−−−− COMPANY CONFIDENTIAL −−−−−−−−−−−−−−−−−−−−−−−−−
−−−−−−−−−−−−−−−−−−−−−−− COMPANY CONFIDENTIAL −−−−−−−−−−−−−−−−−−−−−−−−−

Crossfoot total (salary + bonus)

Salary subtotal
Bonus subtotal

Subtotal

Crossfoot total (salary + bonus)

Salary rolled forward total
Bonus rolled forward total

Rolled forward total

ZK−6080−GE

Crossfoot total (salary + bonus)

Salary subtotal
Bonus subtotal

Subtotal

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

Producing Printed Reports 10–5

Advertising