SQL/MX Programming Manual for Java
Processing SQLJ Programs
HP NonStop SQL/MX Programming Manual for Java—523726-003
5-11
Summary of SQLJ Command-Line Options
path. For more information about customizing JAR files, see Customizing
Profiles in a JAR File on page 6-7.
•
You cannot use a .m file with any other file type on the command line. You
cannot mix .sqlj files with .ser, .jar, or .m files and cannot mix .java
files with .ser, .jar, or .m files on the same command line.
•
Use the wild-card character (*) in a file name to specify a set of similarly
named files in the source directory. For example, if you specify
MyProg*.sqlj, the SQLJ translator processes the MyProg1.sqlj,
MyProg2.sqlj, and MyProg3.sqlj files.
The SQLJ translator program processes the command-line arguments in the order you
specify them on the command line. You can specify an option more than once on the
command line. In this case, the last value overrides any previous values you set on the
command line or in a .properties file. For more information, see Precedence of
Option Settings on page 5-9.
By default, the translator invokes the customizer after successful translation.
Summary of SQLJ Command-Line Options
This table describes the various options available to the SQLJ translator.
Table 5-1. SQLJ Command-Line Options (page 1 of 7)
Option Description Default Value
More
Information
-backup Flag that determines
whether to back up the
profiles before
customization
false Options for the
SQLJ
Customizer on
page 5-26
-C Prefix that denotes an
option to be passed to
the Java compiler
N.A. Prefixes
on
page 5-6
-C-help Flag that determines
whether to display help
text for the Java
compiler
N.A. Options for the
Java Compiler
on page 5-24
* The -P-Ccustomizeroption syntax is allowed for backward compatibility. However, you are encouraged to
use the simpler syntax of
-customizeroption.