SQL/MX Programming Manual for Java
Processing SQLJ Programs
HP NonStop SQL/MX Programming Manual for Java—523726-003
5-27
Options for the SQLJ Customizer
definition file. For more information, see Processing With Module Definition Files on
page 1-17. For example, this command generates and automatically SQL compiles a
module definition file:
java sqlj.tools.Sqlj -SQLMXCustomizerVersion=800 MyProg.sqlj
If you specify 1200 for SQL/MX Release 2.0 or 2.1, the -SQLMXCustomizerVersion
option sets the -createMDF option to false and causes the customizer to embed the
module definition in the extended profile. For more information, see Default Processing
Without Module Definition Files on page 1-9. For example, this command generates an
embedded module definition:
java sqlj.tools.Sqlj -SQLMXCustomizerVersion=1200 MyProg.sqlj
You must run mxCompileUserModule separately to SQL compile the extended
profile and generate a module. For more information, see mxCompileUserModule
Command Line on page 5-34.
If you specify both the -createMDF and -SQLMXCustomizerVersion options
during translation, these options follow the same precedence rules as other SQLJ
options. For more information, see Precedence of Option Settings on page 5-9. See
-createMDF on page 5-28.
-uninstall
The -uninstall option, when set to true, removes SQL/MX-specific customization
from the specified profile or profiles.
For example, this command sets the -uninstall option to true and removes all
SQL/MX-specific customization from the profiles in the application JAR file:
java sqlj.tools.Sqlj -uninstall=true MyApp.jar
-verbose
The -verbose option turns on or off the display of informational messages during
customization. For example, this command enables the display of customization status
information:
java sqlj.tools.Sqlj -P-verbose=true MyProg.sqlj
The command displays:
Info: [0201-005305] [Registered JDBC drivers: com.tandem.sqlmx.SQLMXDriver]
Info: [0201-005700] [Connecting to user URL.CONNECT at jdbc:sqlmx:]