SQL/MX Programming Manual for C and COBOL (G06.24+, H06.03+)
C/C++ Program Compilation
HP NonStop SQL/MX Programming Manual for C and COBOL—523627-004
15-23
Windows-Hosted SQL/MX C/C++ Preprocessor
The preprocessing timestamp of the generated code must match the 
preprocessing timestamp stored in the module. Use this option with caution and 
only when you need to change the source text of the embedded SQL program 
without SQL-compiling the generated code.
-d flag[=value]
is a flag macro for later use in the conditional compilation of the source file. The 
flag specifies the name of the macro and must be a valid C identifier. The value 
can be any integer value (positive or negative). You cannot put spaces around the 
equal sign if an optional value is supplied.
The use of this option corresponds, for example, to the #define directive that 
might be found in a source file (that is, #define foo 1, where 1 is the value 
assigned to foo). The value can then be tested in a #if directive during 
preprocessing.
Because the preprocessor does not process #include files, you must use this 
option to define any macros that are typically defined in #include files and that 
affect the conditional processing of the source file. You can specify the option more 
than once on the command line.
-s system-name or IP-address
is the node name or IP address of the NonStop system where the tables are found 
by INVOKE. This option is required if you use INVOKE.
-r ODBC-listener
is the NonStop system port to connect to for the ODBC listener process. The 
default port for the Association server is 18650.
-y NSK-username
is the Guardian user name with access to the tables that INVOKE reads. This 
option is required if you use INVOKE.
-z NSK-password
is the password for the user name for the NonStop system. This option is required 
if you use INVOKE.
-h
enables processing of files specified in an #include directive that have a .h 
extension. The default is to ignore these files.
-i pathname
specifies a directory path to be searched for a file specified in an #include 
directive. The source path is searched first. 
You can specify this option for a maximum of 20 paths.










