SQL/MP Programming Manual for COBOL85

Explicit Program Compilation
HP NonStop SQL/MP Programming Manual for COBOL85429326-004
6-35
SQL Program File Format
refers to a table; the table, of course, does not exist when the program is explicitly
SQL compiled.)
Unresolved DEFINEs. An SQL statement references a nonexistent DEFINE.
SQL Program File Format
The input program file to the SQL compiler can be a COBOL object file, a file
generated by the Binder program, a file generated by the Accelerator, or a file
previously compiled by the SQL compiler. Figure 6-2 shows the format of an SQL
program file.
Figure 6-2. SQL Program File Format
File Label
Information
Generated by the
SQL Compiler
COBOL Object Code
Execution Plans
Generated by
the SQL
Compiler
Stored DEFINEs
SQL Source Statement 1
SQL Source Statement 2
SQL Source Statement n
SQL Source
Statements
Stored by
the COBOL85
Compiler
SQLProgram File
SQL Valid Flag
Object Code
Generated by
the COBOL85
Compiler
SQL Object Code
Compilation Timestamp
SQL Sensitive Flag
VST004.vsd