PWD CLI/ODBC and IBM data server driver configuration keyword

Defines the default password.

db2cli.ini keyword syntax:
PWD = password
IBM® data server driver configuration file (db2dsdriver.cfg) syntax:
<parameter name="PWD" value="password"/>
Attention: The IBM data server driver configuration file (db2dsdriver.cfg) syntax is available in Db2 11.5.4 and later.
Default setting:
None
Usage notes:
 

Use this password if a password is not provided by the application at connect time.

The password is stored as plain text in the db2cli.ini file and is therefore not secure.

A password phrase can be used as the password when accessing Db2® for z/OS® servers. A password phrase is a character string consisting of mixed-case letters, numbers, and special characters including blanks. Password phrases have security advantages over passwords in that they are long enough to withstand most hacking attempts yet are unlikely to be written down because they are so easy to remember.