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-24
Windows-Hosted SQL/MX C/C++ Preprocessor
-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-11.
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 
different sets of tables. For more information, see Targeting on page 17-12. 
The maximum size for the moduleTableSet attribute is 31 characters.
moduleVersion
sets the moduleVersion attribute to enable multiple versions of an 
application’s module files to coexist while keeping the same MODULE directive 
in each version. For more information, see Versioning on page 17-19. The 
maximum size for the moduleVersion attribute is 31 characters.










