Compaq COBOL AAQ2G1FTK User Manual

Page 303

Advertising
background image

Producing Printed Reports

10.2 Components of a Report

Example 10–1 (Cont.) Components of a Report

2

04-NOVEMBER-96

Year To Date Sales Report

Page

1

Salesman

Salary/Bonus

Client Name

Client Address

Total Sales

3

************************ JANUARY REPORT **************************

4

SMITH

$30,000.00

STREN

2742 NORTH ST.

$225,000.00

JOHN

$10,000.00

TOM

MANCHESTER, NH

.

.

.

.

.

.

.

.

.

.

4

.

.

.

.

.

5

TOTAL

JANUARY

SALES:

$ 2,000,000.00

******************************************************************
************************ FEBRUARY REPORT *************************
.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

6

********************** COMPANY CONFIDENTIAL **********************

********************** COMPANY CONFIDENTIAL **********************
********************** COMPANY CONFIDENTIAL **********************

6

<<<<<<<<<<<<<<<<<<<<<<<CONTINUED ON NEXT PAGE>>>>>>>>>>>>>>>>>>>>>

.
.
.

04-NOVEMBER-96

Year To Date Sales Report

Page 1324

7

********************** COMPANY CONFIDENTIAL **********************

********************** COMPANY CONFIDENTIAL **********************
********************** COMPANY CONFIDENTIAL **********************

******************
*

*

*

END OF

*

*

YEAR TO DATE

*

*

SALES REPORT

*

*

*

******************

Total

Records:

123456

Total

Salesmen:

6754

Total

Sales:

$123,456,789.99

Total

Salaries:

$

9,876,543.21

Total

Bonus:

$

6,789,012.34

Total

Report Pages:

1324

********************** COMPANY CONFIDENTIAL **********************
********************** COMPANY CONFIDENTIAL **********************

7

********************** COMPANY CONFIDENTIAL **********************

The numbers in the following list correspond to the circled numbers in
Example 10–1:

1

Report Heading (RH)—The report heading (the lines marked with 1 and all
the lines between) consists of information printed before the main body of a
report. It can be printed on a separate page, or as the first page heading, with
the remaining page headings abbreviated to save paper. The report heading
can include information such as handling and distribution instructions. It can
also include the selection criteria, sort order, and assumptions made when
creating the report.

2

Page Heading (PH)—The page heading (the line marked with 2 and the line
following) consists of information printed on the top one or more lines of every
page in the report. It usually names and dates the report, gives the report
page number, and produces a title for each column of information in the detail
line.

Producing Printed Reports 10–3

Advertising