SQL/MX Programming Manual for C and COBOL (H06.10+, J06.03+)
C/C++ Program Compilation
HP NonStop SQL/MX Programming Manual for C and COBOL—544617-003
15-19
OSS-Hosted SQL/MX C/C++ Preprocessor
-t timestamp
provides a creation timestamp that the preprocessor writes to the C/C++ annotated
source file (and the module definition file if the -x or -m preprocessor option or the
SQLMX_PREPROCESSOR_VERSION=800 environment variable is used). The
timestamp value overrides the operating system timestamp.
For example, you can specify these timestamp values:
-t "2005-10-26 09:01:20.00"
-t 2005-10-26.12:0000.000000
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]
specifies a flag macro for later use in the conditional compilation of the source file.
flag specifies the name of the macro and must be a valid C identifier. 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 an #if directive during
preprocessing.
You can specify the option more than once on the command line.
-h
enables the processing of files specified in the user #include directive regardless
of their extension. The default action 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.
-x
directs the preprocessor to refrain from emitting embedded module definitions into
the annotated output source file.










