SQL/MX Programming Manual for C and COBOL (G06.24+, H06.03+)
COBOL Program Compilation
HP NonStop SQL/MX Programming Manual for C and COBOL—523627-004
16-15
OSS-Hosted SQL/MX COBOL Preprocessor
-q
directs the preprocessor to accept SQL string literals delimited by double quotes in
addition to single quotes. If you specify -q, you cannot use SQL delimited
identifiers.
-d toggle || SETTOG
defines toggles for use with conditional compilation. Toggles must be in the range
of 1 through 15. If you specify SETTOG, all toggles are set to ON.
-x
directs the preprocessor to refrain from emitting embedded module definitions into
the annotated output source file.
-g {moduleGroup[=module-group-specification-string]
|moduleTableSet[=module-tableset-specification-string]
|moduleVersion[=module-version-specification-string]
|moduleCatalog[=module-catalog-name]
|moduleSchema[=module-schema-name]
}
specifies the arguments for qualifying the name given to the compiled module file.
If you use this option, you must supply at least one of the five module management
attributes. If you want to specify more than one attribute, repeat the entire -g
option for each attribute. These attribute values are used to qualify the name of the
compiled module file. For more information, see File Naming Conventions on
page 17-1.
To use the -g option, you must supply a value in conjunction with the
moduleGroup, moduleTableSet, moduleVersion, moduleCatalog, or
moduleSchema attribute. The value must immediately follow the equal sign, and
the equal sign must immediately follow the attribute keyword. The value can use
regular or delimited identifiers. (See the description of regular and delimited
identifiers in the SQL/MX Reference Manual.) If you supply more than one value
for any attribute, only the final value is used. For information on the length of the
module name, see Module Name Length on page 17-10.
moduleGroup
sets the moduleGroup attribute to group an application’s module files logically
by sharing the same name prefix. The moduleGroup becomes embedded in
the module file names as a common prefix and enables the use of OSS wild-
card file specification patterns to manage the files. For more information, see
Grouping on page 17-21. The maximum size for the moduleGroup attribute is
31 characters.
moduleTableset
sets the moduleTableSet attribute to use the module management targeting
feature. You can create different sets of module files that can be used against