In Unix, my testing has shown that the DB2 instance uses the values set when that instance was started. If using the steps in the Backing up DB2 using TSM redbook, then the DSMI_* variables are set in the ~HOME/sqllib/userprofile script. The "DB2 BACKUP DB ...USE TSM" command is internal to the instance and uses those values. Not the values you have specified in your script. You would have to move in a different DSM.OPT file referencing a different NODENAME before each backup command.
I don't quite understand why you want the same DB backed up as 2 different nodes??!!?! Assuming Unix. Bill Boyer DSS, Inc. -----Original Message----- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED]]On Behalf Of Jozef Zatko Sent: Monday, November 18, 2002 2:59 AM To: [EMAIL PROTECTED] Subject: Re: DB2 Backup using different node names Hi Eduardo, could you please provide the content of your dsm.opt and dsm.sys? Also, are you trying to backup your database with scheduler or by hand from command line. When you want backup one database with two different node names, you have to have correct environment DSMI_CONFIG,....(I assume your platform is Unix) for particular TSM node in user environment, who owns database instance. Are tou sure you are switching your environment correctly? Ing. Jozef Zatko Login a.s. Dlha 2, Stupava tel.: (421) (2) 60252618