SQL/MX Programming Manual for Java
Program and Module Management
HP NonStop SQL/MX Programming Manual for Java—523726-003
6-2
Customized SQLJ Program Files
Customized SQLJ Program Files
If you customize the SQLJ program, the SQLJ translator program generates these files
and stores them in the specified OSS directories:
Program File File Name Convention
*
In an OSS directory specified by the user:
SQLJ source file MyProg.sqlj
In an OSS directory specified by the -dir command-line option and the package statement
if present:
Java source file MyProg.java
In an OSS directory specified by the -d command-line option and the package statement if
present:
Java class file of the SQLJ program MyProg.class
Connection context class files SQLMXCtx.class
MyProg$SQLMXCtx.class
Iterator class files Iter.class
MyProg$Iter.class
Keys file MyProg_SJProfileKeys.class
Extended profiles MyProg_SJProfile0.ser
MyProg_SJProfile1.ser
MyProg_SJProfile2.ser
Module definition files (only if you
choose to generate these files)
MyProg_SJProfile0.m
MyProg_SJProfile1.m
MyProg_SJProfile2.m
In an OSS directory named /usr/tandem/sqlmx/USERMODULES:
Modules User-defined module names:
CAT.SCH.GRP1^MOD1^TABLESET1^VER1
CAT.SCH.GRP2^MOD2^TABLESET2^VER2
System-defined module names:
MYGROUP.MYUSER.MYPROG_SJPROFILE0
MYGROUP.MYUSER.MYPROG_SJPROFILE1
System-defined module name when the
package statement is present:
MYGROUP.MYUSER.PKG_SUBPKG_
MYPROG_SJPROFILE0
*
The file name convention uses MyProg to represent the name of the program class, SQLMXCtx for the name of
the connection context class,
Iter for the name of the iterator class, PKG and SUBPKG for the package and
subpackage, and
MYGROUP and MYUSER for the default catalog and schema, respectively.