pdjava [option] file-name-1.sqlj [file-name-2.java] |
Table 18-8 SQLJ Translator options
Options | Coding format | Explanation |
---|---|---|
-dir | -dir=directory-name | Specifies the direction in which to create the post-source file. |
-d | -d=directory-name | |
-status | -status | Displays the internal status for preprocessing. This is a debugging option. |
-J | -J-option | Specifies a Java virtual machine option to be used during the execution of the SQLJ Translator. |
-version | -version | Displays the version of the SQLJ translator. No translation is performed. |
-help | -help | Specified to display an option explanation. No translation is performed. |
-native | -native | Generates a post source for the native interface. If you are specifying multiple options, be sure to specify this option first. |
-d 64 | -d 64 | Specifies that the SQLJ translator is to be executed with the 64-bit mode HP-UX (IPF) version. |
Example 1: pdjava file-name.sqlj
Example 2: pdjava -dir=d:\sqljsrc file-name.sqlj
Example 3: pdjava -d64 file-name.sqlj*
Example 1: pdjava -native file name.sqlj
Example 2: pdjava -native -dir=d:\sqljsrc file name.sqlj
Example 3: pdjava -native -d64 file name.sqlj*
javac file-name-2.java |
java file-name-2 |
When the 32-bit mode HP-UX (IPF) version is used, the execution format is as follows:
java -d64 file-name-2 |