Compaq COBOL AAQ2G1FTK User Manual

Page 604

Advertising
background image

INSPECT statement

REPLACING phrase (cont’d)

search argument, 5–30

sample (fig.), 5–21
TALLYING option, 5–17
TALLYING phrase, 5–24

argument list, 5–25
arguments, 5–24
counter, 5–24
interference in the tally arguemnt list,

5–27

leading delimiter of operation (tab.), 5–25
scan with separate tallies

results of (tab.), 5–26

Installation

files and directories after installation, 1–1

Interference

in replacement argument list, 5–32
in tally argument list, 5–27

Intermediate data items, 15–7
Interprogram communication, 12–1 to 12–32

See also calling routines
accessing another program’s Data Division,

12–8
Linkage Section, 12–12
USING phrase, 12–9

additional information on, 12–32
argument list, 13–3
calling COBOL programs, 12–19
calling non-COBOL programs, 12–25

example, 12–27

calling routines, 13–5

defining the argument, 13–6
determining the type of call, 13–5
locating the result, 13–15
making the call, 13–7

calling system service routines, 13–8

checking condition values, 13–13
EXTERNAL phrase, 13–13
in a procedure call, 13–13
library return status, 13–15
VALUE IS clause, 13–13

calling system service routines condition value

symbols, 13–15

CALL statement

passing arguments, 12–10

common language environment, 13–1

using COBOL in, 13–1

contained programs, 12–13

COMMON clause, 12–14
GLOBAL clause, 12–15
sharing data, 12–15
sharing files, 12–15
sharing other resources, 12–18
USE procedures, 12–16

examples, 13–19
function value, 13–3
multiple run unit concepts, 12–1

Interprogram communication

multiple run unit concepts (cont’d)

calling procedures, 12–2
definition, 12–1

multiple run unit examples, 12–1
OpenVMS Alpha Calling Standard, 13–2
OpenVMS Alpha Run-Time Library routines,

13–4

OpenVMS Alpha System Services routines,

13–4

program attributes, 12–3

EXTERNAL clause, 12–5
INITIAL clause, 12–4

register and stack usage, 13–2
restrictions on, 12–30
shareable images, 12–30
supplementary information on, 12–30
transferring execution control, 12–5

CALL statement, 12–5

transferring flow of control

CALL statement, 12–5

nesting, 12–6

EXIT PROGRAM statement, 12–8

Invalid key condition

planning for, 7–2

INVALID KEY phrase

use of, 1–55

I-O-CONTROL paragraph, 8–19, 15–10 to 15–15

J

Justified moves

nonnumeric data, 3–9
truncation of data, 3–9

K

/KEEP, 1–33
Key codes, 11–24
Keypad keys, 11–20
Keys

ascending, 4–5
descending, 4–5
segmented, 6–34

-K flag, 1–12

L

Language-Sensitive Editor
Labels

printing four-up (ex.), 10–82
printing four-up (fig.), 10–82
printing four-up in sort order (ex.), 10–84
printing four-up in sort order (fig.), 10–84

Language-Sensitive Editor, C–13
Language Sensitive Editor (LSE)

Program Design Facility (PDF)

unsupported by Compaq COBOL, B–4

Index–14

Advertising