SQL/MP Programming Manual for COBOL

Contents
HP NonStop SQL/MP Programming Manual for COBOL529758-003
iv
5. SQL/MP System Procedures (continued)
5. SQL/MP System Procedures (continued)
SQLSADISPLAY 5-27
Superseded Procedures 5-30
SQLCADISPLAY 5-30
SQLCATOBUFFER 5-34
6. Explicit Program Compilation
Compilation Methods 6-1
TNS Mode Compilation 6-2
Native Mode Compilation for TNS/R Systems 6-4
Preparing for Compilation 6-5
Requirements for Compiling a COBOL Program 6-6
SQL Compiler Directive 6-7
Copying Source Code Into a Compilation Unit 6-9
Setting DEFINEs 6-9
Using PARAM Commands 6-11
Running the HP COBOL Compilers 6-12
Running HP COBOL Compilers in the Guardian Environment 6-13
Running HP COBOL Compilers in the OSS Environment 6-16
Running the Native COBOL Cross Compilers in a PC Host Environment 6-21
Binding and Linking 6-21
The Binder Program 6-22
The nld or ld Utility 6-23
Acceleration of TNS HP COBOL Programs 6-23
The Accelerator 6-24
Running the SQL Compiler
6-25
Required Access Authority
6-25
SQL Compiler Functions
6-25
Running the SQL Compiler in the Guardian Environment 6-27
Running the SQL Compiler in the OSS Environment 6-35
Using Current Statistics
6-35
SQL Compiler Messages
6-36
SQL Program File Format 6-38
SQL Compiler Listings
6-39
Using the EXPLAIN Utility
6-40
Using CONTROL Directives
6-42
Static SQL Statements
6-43
Dynamic SQL Statements 6-44
Using Compatible Components
6-45