Identify DB2 database names

1. Login to the machine that contains your DB2 native client software.

2. Access a Unix command line or MS-DOS command prompt:

3. Execute the db2 command.

./db2


4. Execute the list db directory command.

list db directory


Note: Be aware of different instance names associated with the databases. Be aware that "indirect" notation indicates that a database is local.