DB2 Version 9.7 for Linux, UNIX, and Windows

SQLJ application and applet options for UNIX

The bldsqlj build script builds SQLJ applications and applets on UNIX operating systems. bldsqlj specifies a set of SQLJ translator and customizer options.

Recommendation: Use the same SQLJ translator and customizer options that bldsqlj uses when you build your SQLJ applications and applets on UNIX platforms.

The options that bldsqlj includes are:
sqlj
The SQLJ translator (also compiles the program).
"${progname}.sqlj"
The SQLJ source file. The progname=${1%.sqlj} command removes the extension if it was included in the input file name, so when the extension is added back again, it is not duplicated.
db2sqljcustomize
The SQLJ profile customizer.
-url
Specifies a JDBC URL for establishing a database connection, such as jdbc:db2://servername:50000/sample.
-user
Specifies a user ID.
-password
Specifies a password.
"${progname}_SJProfile0"
Specifies a serialized profile for the program.