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-36
c89 Utility: Using One Command for All Compilation
Steps
-Wmxcmp_querydefault=
compiler_attribute_name=
compiler_attribute_value
[,compiler-attribute-
value...]
Directs the SQL/MX compiler to issue the 
control query default setting at the command 
line. The command-line attribute settings 
override corresponding entries in the 
SYSTEM_DEFAULTS table. You can specify 
multiple attribute name and value pairs, 
separated by commas without spaces.
-Wmxcmp_add=["args" | arg] Passes any valid set of mxcmp or 
mxCompileUserModule options (args) to 
the SQL/MX compiler (mxcmp or 
mxCompileUserModule) without change or 
validation. The SQL/MX compiler validates the 
syntax. You can specify multiple options and 
value pairs, separated by spaces.
-Wmxcmp_files=args Passes the .m files specified here to mxcmp for 
module compilation (with module definition 
files). Passes all files without the .m file 
extension to mxCompileUserModule for 
module compilation (with embedded module 
definitions in the annotated source file).
-WmoduleCatalog=arg Directs the SQL/MX preprocessor to use the 
catalog name if the input sql-file does not 
have a MODULE directive or its MODULE 
directive does not specify a catalog name. 
-WmoduleSchema=arg Directs the SQL/MX preprocessor to use the 
schema name if the input sql-file does not 
have a MODULE directive or its MODULE 
directive does not specify a schema name.
-WmoduleGroup[=[string]] Directs the SQL/MX preprocessor to group all 
an application’s module files. The 
moduleGroup is embedded in the module 
files’ names and enables the use of OSS wild-
card file specification patterns to manage the 
files. For more information, see Grouping on 
page 17-21.
-WmoduleTableSet[=[string]] Directs the SQL/MX preprocessor to use the 
module management targeting feature. Create 
different sets of module files that can be used 
against different sets of tables. For more 
information, see Targeting on page 17-12.










