Compaq COBOL AAQ2G1FTK User Manual page 10

Compaq computer accessories user manual
Table of Contents

Advertisement

11.3
11.3.1
Using Screen Section Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11.3.1.1
of ACCEPT and DISPLAY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.1
Multiple COBOL Program Run Units . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.1.1
Examples of COBOL Run Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Calling Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.1.2
12.2
COBOL Program Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.2.1
The INITIAL Clause . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.2.2
The EXTERNAL Clause . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.3
Transferring Flow of Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
The CALL Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.3.1
Nesting CALL Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.3.2
12.3.3
The EXIT PROGRAM Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.4
Accessing Another Program's Data Division . . . . . . . . . . . . . . . . . . . . . . . .
12.4.1
The USING Phrase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.4.2
The Linkage Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Communicating with Contained COBOL Programs . . . . . . . . . . . . . . . . .
12.5
The COMMON Clause . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.5.1
12.5.2
The GLOBAL Clause . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.5.2.1
Sharing GLOBAL Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.5.2.2
Sharing GLOBAL Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.5.2.3
Sharing USE Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Sharing Other Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.5.2.4
12.6
12.6.1
Calling COBOL Programs from C . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.7
Calling Non-COBOL Programs from Compaq COBOL . . . . . . . . . . . . . . . .
12.7.1
Calling a Fortran Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.7.2
Calling a BASIC Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Calling a C Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.7.3
12.8
12.8.1
CALL and CANCEL Arguments . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.8.2
12.8.3
12.8.4
Case Sensitivity on Tru64 UNIX and Windows NT . . . . . . . . . . . . . . .
Linker Case Sensitivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.8.4.1
12.8.4.2
Windows NT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.8.4.3
12.8.5
Additional Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13.1
Routines, Procedures, and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13.2
The OpenVMS Alpha Calling Standard (OpenVMS) . . . . . . . . . . . . . . . . .
Register and Stack Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13.2.1
13.2.2
Return of the Function Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13.2.3
The Argument List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13.3
OpenVMS Alpha System Routines (OpenVMS) . . . . . . . . . . . . . . . . . . . . .
x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11-31
11-32
11-34
12-1
12-1
12-2
12-3
12-4
12-5
12-5
12-5
12-6
12-8
12-8
12-9
12-12
12-13
12-14
12-15
12-15
12-15
12-16
12-18
12-19
12-19
12-25
12-25
12-27
12-29
12-30
12-30
12-30
12-30
12-30
12-30
12-31
12-31
12-32
13-1
13-2
13-2
13-3
13-3
13-3

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COBOL AAQ2G1FTK and is the answer not in the manual?

Questions and answers

Table of Contents