beautypg.com

Compaq COBOL AAQ2G1FTK User Manual

Page 612

background image

Report

problem solving (cont’d)

logical lines, 10–82
physical lines, 10–82
physical page, 10–88
printing, 10–82, 10–88

bold, 10–89
details, 10–88
totals, 10–88

underlining, 10–89

RESET phrase, 10–36
spooling, 10–24
streamlining your, 10–88
top margin, 10–13
total accumulating, 10–4

crossfooting, 10–35
crossfoot totals, 10–4
defining, 10–34
incrementing, 10–34
RESET phrase, 10–36
rolled forward totals, 10–4
rolling-forward, 10–35
subtotals, 10–4, 10–34
UPON phrase, 10–36

total accumulating (fig.), 10–4
underlining in, 10–89
UPON phrase, 10–36
USE BEFORE REPORTING statement, 10–41

Report file

number of lines

compiler implementation specifications,

A–3

Report groups

sample report using all seven (fig.), 10–27

Report Writer

assigning a value in a print line, 10–31
assigning the source for a print field, 10–31
COLUMN NUMBER clause, 10–30
CONTROL clause, 10–32
detail reporting, 10–42
examples, 10–43

detail report, 10–44, 10–49, 10–57, 10–65
input data, 10–43
summary report, 10–74

first GENERATE statement (fig.), 10–39
footings

controlling, 10–32
generating, 10–32

GENERATE statement, 10–39
headings

controlling, 10–32
generating, 10–32

INITIATE statement, 10–38
LINE clause, 10–29
logical page

defining, 10–25
horizontal spacing, 10–30
vertical spacing, 10–29

Report Writer (cont’d)

PAGE clause, 10–25
printing

GROUP INDICATE clause, 10–37

processing a Report Writer report, 10–38

detail reporting, 10–42
GENERATE statement, 10–39
initiating, 10–38
suppressing a report group, 10–42
terminating processing, 10–40
USE BEFORE REPORTING statement,

10–41

Programming, 10–24
REPORT clause, 10–25
Report Description entry, 10–25
Report File

defining, 10–25

report groups, 10–26
report group types (tab.), 10–26
Report Section

defining, 10–25

SOURCE clause, 10–31
specifying multiple reports, 10–32
subsequent GENERATE statements (fig.),

10–40

SUPPRESS statement, 10–42
TERMINATE statement, 10–40
TERMINATE statement (fig.), 10–41
using Declarative procedures, 10–41, 10–42
VALUE clause, 10–31

RESERVE AREAS clause

value of integers

compiler implementation specifications,

A–2

Reserved words, D–2

compatibility with Compaq COBOL for

OpenVMS VAX, B–28

/RESERVED_WORDS, 1–34
/RESERVED_WORDS qualifier, D–1

Compaq COBOL support for, B–4

Restrictions on interprogram communication,

12–30

RETURN-CODE, 12–12
RISC architecture, 1–2
RMS completion codes, using, 7–3
RMS special registers, 1–55 to 1–59

differences, B–21, B–27
list of, 1–55
RMS-CURRENT-FILENAME, 1–55, 7–5
RMS-CURRENT-STS, 1–55, 7–5
RMS-CURRENT-STV, 1–55, 7–5
RMS-FILENAME, 1–55 to 1–59, 7–5
RMS-STS, 1–55 to 1–59, 7–5, 8–12 to 8–14
RMS-STV, 1–55 to 1–59, 7–5
RMS_CURRENT_STS, B–22
RMS_CURRENT_STV, B–22
RMS_STS, B–22

Index–22