GET INSTANCE command

The GET INSTANCE command returns the value of the DB2INSTANCE environment variable.

Authorization

None

Required connection

None

Command syntax

Read syntax diagramSkip visual syntax diagramGET INSTANCE

Command parameters

None

Examples

The following example is sample output from GET INSTANCE:

 The current database manager instance is:  smith