Use the DMBILIST command to list all instances of the DB2 extenders server that are available on a system. To find out which instance is active, enter the following command:
echo %DB2INSTANCE% (in Windows or OS/2) echo $DB2INSTANCE (in UNIX)