Table 3-2. C Compiler Pragmas For Sql/Mp - HP NonStop SQL/MP Programming Manual

For c
Table of Contents

Advertisement

SQL/MP Statements and Directives
Table 3-2
summarizes the C compiler pragmas that apply to a C program containing
embedded SQL statements and directives. For a description of all C compiler pragmas,
see the C/C++ Programmer's Guide.

Table 3-2. C Compiler Pragmas for SQL/MP

Pragma
Manual*
SQLPM/C
SQL
CPG
SQLPM/C
SQLMEM
CPG
* This statement is documented in one or more of these manuals:
CPG
SQLPM/C
HP NonStop SQL/MP Programming Manual for C—429847-008
Description
Indicates to the C compiler that a program contains
embedded SQL statements and directives.
Also specifies options for processing the SQL statements
or directives:
SQLMAP generates an SQL map in the listing.
WHENEVERLIST writes active WHENEVER options to
the listing file after each SQL statement is processed.
RELEASE1 or RELEASE2 specifies the version of the
SQL/MP features in the program (including the SQL
data structures) and the version of SQL/MP software
on which the program file can run.
Controls the placement of SQL internal structures in either
the user data segment or extended data segment.
SQLMEM applies only to the C compiler on TNS systems.
The native mode C (NMC) compiler on TNS/R systems
ignores this pragma.
C/C++ Programmer's Guide
SQL/MP Programming Manual for C
3-7
Finding Information

Advertisement

Table of Contents
loading

Table of Contents