z/OS Batch Runtime Planning and User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Commands for SQLJ program preparation

z/OS Batch Runtime Planning and User's Guide
SA23-1376-00

To build SQLJ packages for Java™ programs that contain SQLJ embedded SQL, knowledge and use of the following commands is a must:
sqlj - SQLJ translator
The sqlj command translates an SQLJ source file into a Java source file and zero or more SQLJ serialized profiles. By default, the sqlj command also compiles the Java source file.
db2sqljcustomize - SQLJ profile customizer
The db2sqljcustomize command augments the profile with DB2-specific information for use at run time. It processes an SQLJ profile, which contains embedded SQL statements. By default, db2sqljcustomize produces four DB2® packages: one for each isolation level.

Remember, also, to include SQLJ.JAR in the classpath set up of your BCDBATCH JCL.

For the complete details, syntax, authorization, and parameters, see the topic on "JDBC and SQLJ reference information" in DB2 Application Programming Guide and Reference for Java.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014