See my recent post concerning a quick start for db2 for windows.  The key
part of that explains that the environment variables DSMI_CONFIG and
DSMI_DIR must be set in the ControlPanel/System Environment settings for the
SYSTEM variables.  Then the system must be rebooted or the db2 services
stopped and started so that the environment variables can be loaded into the
DB2 run-time engine.  The DB2 executables DSMAPIPW.EXE and DB2ADUTL.EXE can
use variables set the way you specify below.  That is because they read the
environment variables when you execute the commands.  When you do a DB2
backup however, those variables are not re-read because DB2 is already up
and running.

James Thompson


----- Original Message -----
From: "Eric Tang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 06, 2000 6:44 AM
Subject: TSM 3.7.2.01 backup DB2 under NT4.0


> Hi All,
>
> Under DB2 v5.2 on NT4.0, TSM with client 3.7.2.01,
> seems that the following two variables are not working for db2 backup but
> are working for db2adutl.
> set DSMI_CONFIG=c:\progra~1\tivoli\tsm\api\dsm.opt
> set DSMI_DIR=c:\progra~1\tivoli\tsm\api
>
> After reading an append dated 8Mar2000 from this forum, I copy dsm.opt to
> c:\winnt\system32
> and DB2 backup to TSM is working.
>
> Does anyone know how to setup TSM with DB2 v5.2 under NT 4.0
> and is there any sample script on backup/expire you can share?
>
> Thank you in advance.
>
> Regards,
> Eric Tang
>

Reply via email to