Hello,
I have a probleme with the db2connect, hope someone can help me.
A Javaprogramm connect to the db2 with db2connect and the ibm
db2class. Now i need to check if the pw is expired or not, but i dont
know how.
Is there a special return code or something like that?
Or know someone an other (easy) way to test it?
Thx
Andy
Jan M. Nelken - 17 Feb 2004 19:29 GMT
> Hello,
>
[quoted text clipped - 5 lines]
>
> Is there a special return code or something like that?
*If* your java program connect to database - password supplied is *not*
expired, otherwise you will get:
COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver] SQL30082N Attempt to
establish connection failed with security reason "1" ("PASSWORD
EXPIRED"). SQLSTATE=08001
Jan M. Nelken