SQL/MX Programming Manual for Java
Processing SQLJ Programs
HP NonStop SQL/MX Programming Manual for Java—523726-003
5-30
Options for Object Name Qualification
-moduleVersion
The -moduleVersion option specifies the Module Version Specification String 
(MVSS), which is a regular or delimited identifier. For the syntax of identifiers, see the 
SQL/MX Reference Manual. The maximum length of the MVSS is 31 characters, and 
whitespace is disallowed on either side of the equals sign (=). See Module Name 
Length on page 6-13.
If you do not specify an MVSS or if the string is null, the customizer does not add an 
MVSS to the externally qualified module name. If you specify more than one 
-moduleVersion option, the customizer uses last option on the command line, even 
if this option omits the MVSS or is null.
For example, this command assigns an MVSS named VER1 to the version attribute of 
the externally qualified module name:
java sqlj.tools.Sqlj -d=mybin1 -dir=myjava1 
-moduleVersion=VER1 MyProg.sqlj 
For more information, see Versioning on page 6-17.
Options for Object Name Qualification
Use these options to determine how the object (and module) names in a program are 
qualified. The customizer adds these options, if specified, to unqualified object (and 
module) names in the program. The -P prefix before each option is optional. For more 
information, see Name Resolution on page 4-20.
-catalog
The -catalog option specifies the catalog name for the customizer to use as a prefix 
for unqualified SQL/MX object names, SQL/MP aliases, and modules in a program. 
The customizer applies this setting only when -nametype=ansi. By default the 
-nametype option is ANSI. See -nametype on page 5-31.
The customizer applies this setting to an unqualified object or module name only when 
another setting does not override this option. For example, the -moduleCatalog 
option takes precedence over the -catalog option for module names. For module 
name qualification, see Catalog and Schema of the Module Name on page 4-13. For 
object name qualification, see Precedence of Object Name Qualification on page 4-22.
For example, this command directs the customizer to use mycat as the catalog for 
unqualified SQL/MX object names and modules:
java sqlj.tools.Sqlj -catalog=mycat MyProg.sqlj
-mploc
The -mploc option specifies the node, volume, and/or subvolume for the customizer 
to use as a prefix for unqualified SQL/MP object names in a program. The customizer 
applies this setting only when -nametype=nsk. Otherwise, the customizer ignores the 










