“sqlj - SQLJ translator” on page 392
“db2sqljprint - SQLJ profile printer” on page 412
“db2sqljbind - SQLJ profile binder”
″BIND and REBIND options″ (DB2 Command Reference)
db2sqljbind - SQLJ profile binder
db2sqljbind binds DB2 packages for a serialized profile that was previously
customized with the db2sqljcustomize command.
Authorization
The privilege set of the process must include one of the following authorities:
v SYSADM authority
v DBADM authority
v If the package does not exist, the BINDADD privilege, and one of the following
privileges:
– CREATEIN privilege
– PACKADM authority on the collection or on all collections
v If the package exists, the BIND privilege on the package
Command syntax
db2sqljbind
-help
-url jdbc:db2://server /database
: port
: property=value;
-user user-ID -password password
-bindoptions ″ options-string ″
-staticpositioned NO
-staticpositioned YES
-genDBRM -DBRMDir directory-name
Chapter 7. JDBC and SQLJ reference information 407