DB2 Version 9.7 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 is sample output from GET INSTANCE:

 The current database manager instance is:  smith