var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Null user ID and null password with JDBC Unviversal Type 4 Driver (DB2 on MVS)
There is a DB2 user ID configured without password on MVS.
Earlier was used JDBC/SQLJ Universal Type 2 Driver.
The connection was created using this syntax (null user ID/password):
The system recognized the user ID which logged on to server and used it to connect to DB2 and no password was needed, since it was configured in RACF group.
Now with switch to JDBC Universal Type 4 Driver Java throws exceptions when either user ID / password is null or blank:
Is there any option to connect to DB2 without providing to DriverManager password (so it would use the user ID which runs the program) ?
Exception: com.ibm.db2.jcc.am.SqlSyntaxErrorException: [jcc][t4][3.59.83] Null userid is not supported. ERRORCODE=-4461, SQLSTATE=42815