Hello everybody,
My short question is, how do I specify different Windows environment variables for different DB2 instances? On a Unix system, I could put them into ${HOME}/sqllib/userprofile of the instance owner, and everything would be fine. But how do I do this on Windows?
The longer explanation follows:
I'm trying to configure TSM backups for DB2 8.1.9 on Windows 2003. I have multiple DB2 instances which should work with TSM using different dsm.opt files (essentially, they have different TSM node names and possibly servers). I created multiple .opt files, one for each instance, and checked with dsmc and db2adutl that they are correct by setting the DSMI_CONFIG environment variable to point to an appropriate configuration file.
However, when I run DB2 BACKUP command it takes the TSM configuration always from the same file, the one specified in the DSMI_CONFIG variable in the Windows system properties. I would need each DB2 instance to start up with its own value for DSMI_CONFIG, but how do I do that?
Thanks