SQL Supplement for H-Series RVUs

SQL/MP Programming Manual for COBOL
HP NonStop SQL Supplement for H-Series RVUs529446-005
1-50
Running the SQL Compiler
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 (TNS programs) or linker (native programs), a file
generated by the Accelerator or the OCA (TNS programs only), or a file previously
compiled by the SQL compiler. Figure 1-5 shows the format of an SQL program file.
For an SQL program file that has accelerated object code, see Figure 1-4 on
page 1-36.
Figure 1-5. SQL Program File Format
COBOL Object Code
SQL Source Statement 1
SQL Source Statement 2
SQL Source Statement n
SQL Program File
SQL VALID Flag
SQL Object Code
Compilation Timestamp
SQL SENSITIVE Flag
VST004.vsd
File Label
Information
Generated by the
SQL Compiler
Object Code
Generated by the
HP COBOL
Compiler
SQL Source
Statements
Stored by the HP
COBOL Compiler
Execution Plans
Generated by the
SQL Compiler
Including Stored
DEFINEs