SQL/MX Programming Manual for Java
Program and Module Management
HP NonStop SQL/MX Programming Manual for Java—523726-003
6-4
Noncustomized SQLJ Program Files
Noncustomized SQLJ Program Files
If you do not customize the SQLJ program, the SQLJ translator program generates
these files and stores them in the specified OSS directories:
If you do not specify the -dir and -d command-line options during translation, the
default directory of all programs files is the same as the OSS directory of the SQLJ
source file (
.sqlj file). For more information about the -dir and -d options, see
Options for Output Files and Directories
on page 5-18.
Files Necessary for Execution
These program files are necessary for the successful execution of a noncustomized
SQLJ program:
•
Java class file of the SQLJ program (for example, MyProg.class)
•
Connection context class files if generated (for example, SQLMXCtx.class)
•
Iterator class files if generated (for example, MyProg$Iter.class)
•
Keys file (for example, MyProg_SJProfileKeys.class)
•
Profile (for example, MyProg_SJProfile0.ser)
For more information, see Dynamic SQLJ Execution on page 1-21.
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
Profiles MyProg_SJProfile0.ser
MyProg_SJProfile1.ser
MyProg_SJProfile2.ser
*
The file name convention uses MyProg to represent the name of the program class, SQLMXCtx for the name of
the connection context class, and
Iter for the name of the iterator class.