==> On Thu, 16 Jun 2005 14:43:56 +0200, Richard van Denzel <[EMAIL PROTECTED]> said:
> I'm trying to backup DB2 using TSM. When I issue the command: > db2 backup db LDAPDB online use tsm > I get the following error: > SQL2062N An error occurred while accessing media > "/home/db2ldp/sqllib/adsm/libtsm.a". reason code: "406". > I've checked all my environment variables (DSMI_DIR, DSMI_CONFIG) and the > dsm.opt pointed to by DSMI_CONFIG is present and readable. > The dsm.sys is readable for the instance owner and he also may write in > the log-directory. > Environment variables are available wit both set and env commands. > Has anyone got a clue to what is going wrong? Have you restarted the instance since you set the environment variables? The 'db2 backup' command may be understood as making a request of the server instance, which does all the work. It is the environment (DSMI_CONFIG, etc) of the process which is running the instance which is relevant, not the environment of the process running the 'db2 backup' command. - Allen S. Rout