SQL/MX 3.1 Programming Manual for C and COBOL (H06.23+, J06.12+)
C/C++ Program Compilation
HP NonStop SQL/MX Release 3.1 Programming Manual for C and COBOL—663854-001
15-19
OSS-Hosted SQL/MX C/C++ Preprocessor
variable references are stored in the same order in which they appear in the SQL
statement.
OSS-Hosted SQL/MX C/C++ Preprocessor
You can compile and run an embedded SQL C/C++ program in the OSS environment
on a NonStop system. Although you cannot compile and run such a program in the
Guardian environment, you can use an OSS pass-through command in the Guardian
environment. For instructions on using the Windows-hosted SQL/MX C/C++
preprocessor, see Windows-Hosted SQL/MX C/C++ Preprocessor on page 15-25. For
instructions on using the OSS pass-through command to execute the preprocessor in
the Guardian environment, see Building SQL/MX Guardian Applications in the
Guardian Environment on page 15-64.
The OSS-hosted SQL/MX C/C++ preprocessor (mxsqlc) is installed in the
/usr/tandem/sqlmx/bin directory in the OSS environment. You can use the c89
utility to preprocess embedded SQL C/C++ programs, compile C/C++ and run the
SQL/MX compiler, and then link the C/C++ program. For more information, see c89
Utility: Using One Command for All Compilation Steps on page 15-42.










