IBM Support

SQL2062N An error occurred while accessing media. Reason code: "2033".

Troubleshooting


Problem

The following error is received during a DB2 backup : [] SQL2062N An error occurred while accessing media "D:\PROGRA~1\IBM\SQLLIB\bin\db2tsm.dll". Reason code: "2033".[]

Cause

The errors are caused by coding the Tivoli Storage Manager client nodename, password in the DB2 configuration file and also in the dsm.opt file used by the DB2 client.

Diagnosing The Problem

Run the "db2 get db cfg for {db_name}" DB2 command to verify the values of the following options:
tsm_nodename
tsm_password
tsm_owner

Resolving The Problem

The following commands need to be run:

db2 update db cfg for {db_name} using tsm_nodename NULL
db2 update db cfg for {db_name} using tsm_password NULL
db2 update db cfg for {db_name} using tsm_owner NULL

[{"Product":{"code":"SSTFZR","label":"Tivoli Storage Manager for Databases"},"Business Unit":{"code":"BU010","label":"Systems - Storage"},"Component":"Not Applicable","Platform":[{"code":"PF033","label":"Windows"}],"Version":"All Versions","Edition":"Edition Independent"}]

Document Information

Modified date:
17 June 2018

UID

swg21368481