Producing Printed Reports
10.9 Report Writer Examples
Example 10–6 (Cont.) Sample Program EX1006
REPORT SECTION.
RD
MASTER-LIST
PAGE LIMIT IS 66
HEADING
1
FIRST DETAIL 13
LAST DETAIL
55
CONTROL IS FINAL.
01
TYPE IS PAGE HEADING.
02
LINE
5.
03
COLUMN 1
PIC X(27) VALUE "CUSTOMER MASTER FILE REPORT".
03
COLUMN 105
PIC X(4)
VALUE "PAGE".
03
COLUMN 109
PIC ZZZ9
SOURCE PAGE-COUNTER.
03
COLUMN
1
PIC X VALUE "+".
03
COLUMN 2
PIC X(110) VALUE ALL "-".
03
COLUMN 112
PIC X VALUE "+".
02
LINE
8.
03
COLUMN
1
PIC X VALUE "|".
03
COLUMN 10
PIC X(4) VALUE "NAME".
03
COLUMN 29
PIC X VALUE "|".
03
COLUMN
43
PIC X(7) VALUE "ADDRESS".
03
COLUMN
81
PIC X VALUE "|".
03
COLUMN
91
PIC X(7) VALUE "INVOICE".
03
COLUMN 112
PIC X VALUE "|".
03
COLUMN
1
PIC X VALUE "|".
03
COLUMN 2
PIC X(110) VALUE ALL "-".
03
COLUMN 112
PIC X VALUE "|".
02
LINE
10.
03
COLUMN
1
PIC X(6) VALUE "| LAST".
03
COLUMN
16
PIC X(7) VALUE "| FIRST".
03
COLUMN
26
PIC X(4) VALUE "|MI|".
03
COLUMN
35
PIC X(6) VALUE "STREET".
03
COLUMN
48
PIC X VALUE "|".
(continued on next page)
10–46 Producing Printed Reports
Содержание COBOL AAQ2G1FTK
Страница 22: ......
Страница 30: ......
Страница 94: ......
Страница 110: ......
Страница 146: ......
Страница 180: ......
Страница 194: ...Processing Files and Records 6 1 Defi...
Страница 300: ......
Страница 490: ......
Страница 516: ......
Страница 517: ......
Страница 530: ......
Страница 534: ......
Страница 590: ......
Страница 620: ......