SQL/MP Programming Manual for COBOL85
Contents
HP NonStop SQL/MP Programming Manual for COBOL85—429326-004
iv
5. SQL/MP System Procedures (continued)
5. SQL/MP System Procedures (continued)
SQLCATOBUFFER 5-34
6. Explicit Program Compilation
The Compilation Method 6-1
Requirements for Compiling a COBOL Program 6-3
Using DEFINEs in the Guardian Environment 6-5
Using DEFINEs in the OSS Environment 6-6
Using PARAM Commands 6-7
Copying Source Code into a Compilation Unit 6-9
The COBOL85 Compiler 6-9
Processes Involved in Compilation 6-10
SQL Compiler Directive 6-10
Running the COBOL85 or NMCOBOL Compiler in the Guardian
Environment 6-11
Running the COBOL85 Compiler in the OSS Environment 6-13
Running the NMCOBOL Compiler in the OSS Environment 6-17
Binding and Linking 6-22
The Binder Program 6-22
The nld Utility 6-23
The SQL Compiler 6-23
Required Access Authority 6-24
SQL Compiler Functions 6-24
Running the SQL Compiler in the Guardian Environment 6-25
Running the SQL Compiler in the OSS Environment 6-33
Using Current Statistics 6-33
SQL Compiler Messages
6-33
SQL Program File Format
6-35
SQL Compiler Listings 6-36
Using the EXPLAIN Utility 6-38
Using CONTROL Directives 6-40
Static SQL Statements 6-41
Dynamic SQL Statements 6-42
Using Compatible Components 6-43
COBOL85 Compiler 6-43
SQL Compiler 6-43
SQL Program File 6-44