+1 vote
in Oracle by
How to list instances of DB2?

1 Answer

0 votes
by
edited by

db2ilist command is used to list the all the instances that are available on a system.

Syntax:

  1. db2ilist    

Instance environment commands

To Get Instance:

db2 get instance command is used to see details of the currently running instances.

Syntax:

  1. db2 get instance  

To Set Instance:

If you want to start or stop the database manager of an instance on DB2 UDB, the following command is executed for the current instance.

Syntax:

  1. set db2instance=<instance_name>  

For Example: Arrange the "db2admin" environment to current user:

  1. set db2instance=db2admin  

Related questions

+1 vote
+1 vote
asked Aug 21, 2020 in Oracle by DavidAnderson
0 votes
asked Aug 21, 2020 in DBMS by DavidAnderson
+1 vote
+1 vote
+1 vote
asked Aug 21, 2020 in DBMS by DavidAnderson
...