Use the Control Center or the db2ilist command
to get a list of instances,
About this task
- On DB2® Version 8 or earlier,
all the instances on the system are listed.
- On DB2 Version 9 or later,
only the instances from the DB2 copy
where the db2ilist command is invoked from are
listed.
Procedure
- To get a list of instances using the Control Center:
- Expand the object tree until you see the Instances folder.
- Right-click the Instances folder, and select Add from
the pop-up menu.
- On the Add Instance window, click Refresh.
- Click the drop-down arrow to see a list of database
instances.
- To get a list of instances using the command line, enter:db2ilist
- To determine which instance applies to the current session
(on supported Windows operating
systems) use:set db2instance