DB2 10.5 for Linux, UNIX, and Windows

GET INSTANCE command

Returns the value of the DB2INSTANCE environment variable.

Authorization

None

Required connection

None

Command syntax

Read syntax diagramSkip visual syntax diagram
>>-GET INSTANCE------------------------------------------------><

Command parameters

None

Examples

The following example is sample output from GET INSTANCE:

 The current database manager instance is:  smith