2009/4/23
如何得到DB2 Instance Owner Name
Unix:
InstName is Represents the name of instance. The name of the instance must be the same as the name of the instance owning user. Specify the name of the instance owning user you created. The instance will be created in the instance owning user’s home directory.
echo $DB2INSTANCE 能得到 owner name
Windows:
到v95还是未知,据说v97的db2iinfo 可以得到,没实验过。
DB2INSTOWNER
Operating system: Windows
- Default: NULL
- The registry variable created in the DB2 profile registry when the instance is first created. This variable is set to the name of the instance-owning machine.