SQL/MX Programming Manual for Java

Processing SQLJ Programs
HP NonStop SQL/MX Programming Manual for Java523726-003
5-37
Examples—mxCompileUserModule
For more information, see the Open System Services Shell and Utilities Reference
Manual.
Examples—mxCompileUserModule
This command compiles the embedded module definitions in all the extended
profiles in the MyApp.jar file:
mxCompileUserModule MyApp.jar
This command compiles the embedded module definition in the extended profile,
MyProg_SJProfile2.ser:
mxCompileUserModule MyProg_SJProfile2.ser
This command compiles the embedded module definitions in three extended
profiles in the MyApp.jar file and replaces the existing modules in the
/usr/tandem/sqlmx/USERMODULES directory:
mxCompileUserModule -d modulegroup=grp MyApp.jar
{cat1.sch1.mod1, cat2.sch2.mod2, cat3.sch3.mod3}
This command compiles the embedded module definition in the extended profile,
MyProg_SJProfile5.ser, and replaces the existing module in the
/usr/tandem/sqlmx/USERMODULES directory:
mxCompileUserModule MyProg_SJProfile5.ser {cat1.sch1.mod1
MODULEGROUP=grp}
This command compiles the embedded module definitions in three extended
profiles in the MyApp.jar file and replaces existing modules in the
/usr/tandem/sqlmx/USERMODULES directory:
mxCompileUserModule -v MyApp.jar {cat4.sch4.\"mod4^ts4\",
cat5.sch5.\"mod5^ts5\", cat6.sch6.\"mod6^ts6\"}