SQL/MX 2.x Database and Application Migration Guide (G06.23+, H06.04+, J06.03+)

Converting SQL/MP Applications to SQL/MX
Applications
HP NonStop SQL/MX Database and Application Migration Guide540435-005
10-54
Compiling the Application
information on what type of statement was compiled or on the cost of a PREPARE
statement.
Compiling the Application
After modifying the source code to be compliant with NonStop SQL/MX, compile the
source files by using the host-language compiler for that type of application. To
become familiar with SQL/MX development environments and with how embedded
SQL/MX applications are SQL-compiled in NonStop SQL/MX, see:
Development Environments for SQL/MX Applications on page 10-54
Converting Guardian Applications to OSS on page 10-55
Similarity Checks and Automatic Recompilation of Embedded SQL/MX
Applications on page 10-55
Managing Modules of Embedded SQL/MX Applications on page 10-58
Development Environments for SQL/MX Applications
The development environment is where you code, compile, and test applications. The
type of SQL/MX development environment depends on the type of application and the
host-language compilers. Table 10-14
on page 10-54 lists the development
environments of several types of SQL/MX applications and refers to sources where
you can learn more about how to compile these applications.
Table 10-14. Development Environments for SQL/MX Applications (page 1 of 2)
SQL/MX Application Development Environment For more information...
Statically Compiled
Embedded SQL/MX
program in C, C++, or
COBOL
Guardian, OSS, or Windows
(using ETK)
SQL/MX Programming
Manual for C and COBOL
Dynamically Compiled
ODBC client
application that uses
MXCS
Windows ODBC/MX Driver for
Windows