Program run messages, 1–52
Program structure differences, B–10
Compaq COBOL (ex.), B–10
Compaq COBOL for OpenVMS VAX, B–10
debugging a Compaq COBOL program, B–29
using the /OPTIMIZE qualifier, B–11
Program switches
See Switches
PROTECTED phrase, 11–14
Protecting records
automatic record locking, 8–17, 8–18
bypassing a record lock, 8–22
concepts, 8–1
error conditions, 8–23
hard record locks, 8–23
soft record locks, 8–24
soft record locks and Declarative USE
procedures, 8–25
manual record locking, 8–19
using record locking, 8–16
Pseudocode placeholders
unsupported by Compaq COBOL, B–4
Q
Qualifiers
COBOL command, 1–31 to 1–36
with the COBOL command, 1–29
QUIT command (LSE), C–15
R
-rsv, D–1
-rsv foreign_extensions flag, D–1
Random access mode
specifying, 6–21
ranlib command, 1–26
Reading files
line sequential, 6–37
sequential, 6–37
READ NEXT statement
changing access mode, 6–44
READ PRIOR statement, 6–46
Record
See also File
blocking, specifying, 6–20
cells, 6–6
definition, 6–2
fixed-length, 6–9
format, 6–8
locking
See Protecting records, Record locking, and
File sharing
processing, 6–1 to 6–60
protection
See Protecting records
space needs on a physical device, 6–9
Record (cont’d)
variable-length, 6–10
variable with fixed-control, 6–12
Record access mode
definition, 6–23
RECORD CONTAINS clause, 6–8
Record definitions
compiler implementation specifications, A–1
Record description, 6–9
Record format
specifying, 6–8
Record-length descriptions, multiple, 6–12
Record locking
See also Protecting records
Compaq standard, 8–3
definition, 8–2
successful, 8–16
X/Open standard, 8–3
Record Management Services (RMS), 1–55 to
1–59
See also RMS special registers
completion codes, 7–5
Record numbers
cell numbers, 6–6
RECORD statement, C–19
Record structures
alignment of, 16–3
RECORD VARYING clause, 6–8
REDEFINES clause
and numeric data storage, 2–1, 2–2
Redefinition
implied when inspecting data, 5–18
Reference
unresolved (linker), 1–23
REFERENCE argument-passing mechanism,
12–10
Reference format
ANSI, 1–7
terminal, 1–6
Reference modification, 3–12
Reference modification out of range, B–9
REFORMAT
purpose of, 1–7
REFORMAT utility, 14–1
converting reference format, 1–7
error messages, 14–4
running, 14–1
REGARDLESS, 8–3
Register usage, 13–2
Relation tests
description, 2–3
nonnumeric data, 3–3
Relative file
See also Optimization
access modes, 6–31
AT END condition, 7–2
capabilities, 6–5
creating, 6–29
Index–20
Содержание COBOL AAQ2G1FTK
Страница 22: ......
Страница 30: ......
Страница 94: ......
Страница 110: ......
Страница 146: ......
Страница 180: ......
Страница 194: ...Processing Files and Records 6 1 Defi...
Страница 300: ......
Страница 490: ......
Страница 516: ......
Страница 517: ......
Страница 530: ......
Страница 534: ......
Страница 590: ......
Страница 620: ......