SQL/MX Programming Manual for Java
Processing SQLJ Programs
HP NonStop SQL/MX Programming Manual for Java—523726-003
5-29
Options for Module Management
If you do not specify an MGSS or if the string is null, the customizer does not add an
MGSS to the externally qualified module name. If you specify more than one
-moduleGroup option, the customizer uses last option on the command line, even if
this option omits the MGSS or is null.
For example, this command assigns an MGSS named MYGROUP to the group attribute
of the externally qualified module name:
java sqlj.tools.Sqlj -d=mybin -dir=myjava
-moduleGroup=MYGROUP MyProg.sqlj
For more information, see Grouping on page 6-20.
-moduleSchema
The -moduleSchema option specifies the schema name or the catalog and schema
names for the customizer to use as a prefix for unqualified module names. The
maximum length of the module schema is 128 characters, and white space is
disallowed on either side of the equals sign (=). For more information about the module
name, see MODULE Directive on page 4-12 and Module Name Length on page 6-13.
If you specify a two-part name, such as cat.sch, the customizer interprets the first
part as the catalog and the second part as the schema. The -moduleCatalog option
overrides the catalog value set in the -moduleSchema option.
For example, this command directs the customizer to use myschema as the schema
for an unqualified module:
java sqlj.tools.Sqlj -moduleSchema=mySchema MyProg.sqlj
-moduleTableSet
The -moduleTableSet option specifies the Module TableSet Specification String
(MTSS), which is a regular or delimited identifier. For the syntax of identifiers, see the
SQL/MX Reference Manual. The maximum length of the MTSS 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 MTSS or if the string is null, the customizer does not add an
MTSS to the externally qualified module name. If you specify more than one
-moduleTableSet option, the customizer uses last option on the command line,
even if this option omits the MTSS or is null.
For example, this command assigns an MTSS named TS1 to the target attribute of the
externally qualified module name:
java sqlj.tools.Sqlj -d=mybin1 -dir=myjava1
-moduleTableSet=TS1 MyProg.sqlj
For more information, see Targeting on page 6-15.