SQL/MX Programming Manual for C and COBOL (G06.24+, H06.03+)

COBOL Program Compilation
HP NonStop SQL/MX Programming Manual for C and COBOL523627-004
16-14
OSS-Hosted SQL/MX COBOL Preprocessor
file.cbl, where source-file is the name of the SQL/MX COBOL source file
(for example, sqlprog.ecob) without the file extension.
-m module-def-file
is the name of the output module definition file, which is the input file for the
SQL/MX compiler. The default is source-file.m, where source-file is the
name of the SQL/MX COBOL source file (for example, sqlprog.ecob) without
the file extension.
-e
generates CHARACTER data types for date-time data types. This behavior is
compatible with NonStop SQL/MX Release 1.8. For more information, see
INVOKE and Date-Time and Interval Host Variables (SQL/MX Release 1.8
Applications) on page 4-23.
-l list-file
is the name of the output list file that contains preprocessor error and warning
messages. The default is source-file.lst, where source-file is the name
of the SQL/MX COBOL source file (for example, sqlprog.ecob) without the file
extension.
-a
indicates the ANSI fixed format for the source file. Output source is in the same
format. If not specified, -f is the default.
-f
indicates the TANDEM free format for the source program. Output source is in the
same format. If not specified, -f is the default.
-t timestamp
provides a creation timestamp that the preprocessor writes to the COBOL
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.