Sql Program File Format; Figure 6-4. Sql/Mp Program File Format - HP NonStop SQL/MP Programming Manual

For c
Table of Contents

Advertisement

Explicit Program Compilation
Insufficient information. The SQL compiler does not have enough information to
determine the validity of a statement. For example, an unavailable table might not
exist, or it might reside on an unavailable remote node. (This situation always
occurs for a program that both creates and 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 C object file, a file generated by
the Binder program, a file generated by the Accelerator, the OCA, or a file previously
compiled by the SQL compiler.

Figure 6-4. SQL/MP Program File Format

HP NonStop SQL/MP Programming Manual for C—429847-008
Figure 6-4
shows the format of an SQL program file.
SQL Program File
SQL Valid Flag
SQL Sensitive Flag
Compilation Timestamp
C Object Code
Accelerated Object Code
Accelerated Object Code
for TNS/R (AXCEL)
TNS/R (AXCEL) or TNS/E
or TNS/E (OCA)
(OCA)
SQL Source Statement 1
SQL Source Statement 2
SQL Source Statement n
SQL Object Code
6-24
SQL Program File Format
File Label
Information
Generated by the
SQL Compiler
Object Code
Generated by
the C Compiler
Accelerated
Object Code
SQL Source
Statements
Stored by the
C Compiler
Execution Plans
Generated by the
SQL Compiler
Including
Stored DEFINEs
VST004.vsd

Advertisement

Table of Contents
loading

Table of Contents