SQLJ routine options for UNIX
The bldsqljs build script builds SQLJ
routines on UNIX operating systems. bldsqljs specifies
a set of SQLJ translator and customizer options.
Recommendation: Use the same SQLJ translator and
customizer options that bldsqljs uses when you build
your SQLJ routines on UNIX platforms.
The
options that
bldsqljs 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.