Hi everybody,
the db2 instance is the default-istance. I would like to change the DB2INSTANCE to another instance (for example to xxx) forever and not to set it only with set DB2INSTANCE=xxx for the current session.
So i tried the following command:
db2set -g db2instdef =xxx;
then i saw through the command db2set -all that the db2instdef is set to xxx But the db2 get instance command gives me db2 as answer again!
I know that it is possible to set the environmentvari able under system properties but i would like to know the db2 command too.
Could anyone help me please.
thanks in advance.
Best Regards,
Maryan
the db2 instance is the default-istance. I would like to change the DB2INSTANCE to another instance (for example to xxx) forever and not to set it only with set DB2INSTANCE=xxx for the current session.
So i tried the following command:
db2set -g db2instdef =xxx;
then i saw through the command db2set -all that the db2instdef is set to xxx But the db2 get instance command gives me db2 as answer again!
I know that it is possible to set the environmentvari able under system properties but i would like to know the db2 command too.
Could anyone help me please.
thanks in advance.
Best Regards,
Maryan
Comment