Well, I’ve been pleased once I finally found out how to successfully to connect to DB2 using a type 2 connection as opposed a type 4 connection. Nice having my jobs default to same authority as assigned by z/OS instead having to cache a connecting user id & password.
However, I was just curious, while executing Java code, has one work with alternatives to JDBC? Not that I have anything against JDBC, but I was wondering is there a way to pre-bind your executable SQL prior to run time, similar to the way DB2 does for embedded SQL in Cobol, C, & PL/I? At least, has any one figured out how to use DB2’s SQLJ?