Producing Printed Reports
10.9 Report Writer Examples
Example 10–7 (Cont.) Sample Program EX1007
RD
MASTER-LIST
PAGE LIMIT IS 66
HEADING
1
FIRST DETAIL
13
LAST DETAIL
55
CONTROLS ARE FINAL
NAME.
01
REPORT-HEADER TYPE IS REPORT HEADING NEXT GROUP NEXT PAGE.
02
LINE 24.
03
COLUMN 45
PIC X(31) VALUE ALL "*".
02
LINE 25.
03
COLUMN 45
PIC X VALUE "*".
03
COLUMN 75
PIC X VALUE "*".
03
COLUMN 45
PIC X(31) VALUE "*
Customer Master File
*".
02
LINE 27.
03
COLUMN 45
PIC X VALUE "*".
03
COLUMN 75
PIC X VALUE "*".
02
LINE 28.
03
COLUMN 45
PIC X VALUE "*".
03
COLUMN 55
PIC Z9
SOURCE UE-DAY.
03
COLUMN 57
PIC X
VALUE "-".
03
COLUMN 58
PIC 99
SOURCE UE-MONTH.
PIC X
VALUE "-".
03
COLUMN 61
PIC 9999
SOURCE UE-YEAR.
03
COLUMN 75
PIC X
VALUE "*".
02
LINE 29.
03
COLUMN
45
PIC X VALUE "*".
03
COLUMN 75
PIC X VALUE "*".
02
LINE 30.
03
COLUMN
45
PIC X(31) VALUE "*
Report EX1007
*".
02
LINE 31.
03
COLUMN
45
PIC X(31) VALUE "*
Detail Report
*".
(continued on next page)
10–50 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: ......