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-33
nmcobol Utility: Using One Command for All
Compilation Steps
-WmoduleGroup[=[string]] Directs the SQL/MX preprocessor to 
group all of 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.
-WmoduleVersion[=[string]] Allows 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.
-Wsqlmx_pp_defscript=args Specifies the files that contain the class 
MAP DEFINEs that create environment 
variables before SQL/MX preprocessing.
-Wmxcmp_cmd="oss_command;
oss_command"
Specifies the list of OSS commands to 
execute before invoking the remote 
mxcmp. 
-Wsqlhost={hostname | IP-
address}
Specifies the host name or IP address of 
the NonStop system where the tables 
specified by INVOKE reside. This option 
is required if you use INVOKE. 
-Wsqlloc=OSS-directory Specifies the directory in which module 
definition files are placed.
-Wsqlmx_port=port-number Specifies the TCP/IP port of the 
NonStop system to connect to for the 
ODBC listener process. The default port 
for the Association server is 18650. 
-Wsqluser=user[,password] Specifies the Guardian user name and 
password with access to the tables that 
INVOKE reads. Required if you use 
INVOKE. 
The PC-only options are shaded in gray.










