Compaq COBOL AAQ2G1FTK User Manual

Page 608

Advertising
background image

Numeric items

testing (cont’d)

relation test, 2–3
sign test, 2–3

Numeric moves

elementary, 2–6

Numeric relational operators (tab.), 2–3

O

-O0 flag, 1–13
-O1 flag, 1–13
-O2 flag, 1–13
-O3 flag, 1–13
-O4 or -O flag, 1–13
/OBJECT, 1–34

in program development, 15–5

Object file

directory used, 1–17
file name suffix, 1–9
linker order of loading, 1–19
linking, 1–27
obtaining information about, 1–26
passing directly to ld (example), 1–10
renaming, 1–17
retaining, 1–16
used to create a shared library, 1–21

Object module

creating, 1–17, 1–29
default user libraries, 1–42
defining the search order for, 1–43
libraries

definition, 1–41

using system-supplied libraries, 1–42
using user-created libraries, 1–41

OCCURS clause

indexes, 4–1
keys, 4–1

OCCURS n TIMES clause

value of n

compiler implementation specifications,

A–3

odump command, 1–26
.o file suffix, 1–16
-o flag, 1–17
-O flag, 15–1

and debugging, 15–4

OMITTED argument-passing mechanism, 12–11
ON EXCEPTION, B–17
ON EXCEPTION phrase, 11–13
-o output flag, 1–13
OPEN and CLOSE statements, 6–25
Open mode

EXTEND, 6–25
INPUT, 6–25
I-O, 6–25
OUTPUT, 6–25

OpenVMS Alpha

Calling Standard, 13–2
Run-Time Library routines, 13–4
System Services routines, 13–4
Usages, 13–8

COBOL equivalents, 13–8

OpenVMS Alpha tuning, 1–3
Optimization, 15–1 to 15–25

confusing behavior in debugging, 15–4
DISPLAY, avoiding, 15–5
file design, 15–15
I/O operations, 15–10

APPLY clause, 15–10

DEFERRED-WRITE phrase, 15–11
EXTENSION phrase, 15–11
FILL-SIZE ON phrase, 15–12
PREALLOCATION phrase, 15–10
WINDOW phrase, 15–12

sharing record areas, 15–13
sharing record areas (fig.), 15–13
using multiple buffers, 15–12

image activation, 15–25
indexed files, 15–19

I/O, 15–20

alternate keys, 15–21
bucket size, 15–21
bucket size in bytes (tab.), 15–21
caching index roots, 15–25
calculating bucket size (tab.), 15–21
calculating index levels, 15–24
file size, 15–22
index depth, 15–22
records, 15–20

two-level primary index (fig.), 15–19

in relation to program structure, B–11
levels, 15–4
numeric data representation, 15–7

BINARY, 15–5, 15–7
COMP, 15–5, 15–7
COMP-3, 15–7
DISPLAY, 15–7
mixing data types, 15–7
PACKED-DECIMAL, 15–7
scaling, 15–7

PROCEDURE DIVISION

GO TO DEPENDING ON, 15–8
IF, 15–8
indexing, 15–9
SEARCH, 15–9
SEARCH ALL, 15–9
subscripting, 15–9

relative files, 15–16

bucket size, 15–17

one block (tab.), 15–18
three blocks (tab.), 15–17

cell size, 15–16

calculating formulas (tab.), 15–16

file size, 15–18

Index–18

Advertising