DB2 Resolve SQL2062N An error occurred while accessing media


We were trying to restore a TSM backup of SAP with load options of DB2 restore.

Command –
 db2 backup db ecp online load /usr/tivoli/tsm/tdp_r3/db264/libtdpdb264.a  

But we were repeatedly getting SQL2062N,

SQL2062N An error occurred while accessing media
"/usr/tivoli/tsm/tdp_r3/db264/libtdpdb264.a". Reason code: "11".

dsmerror.log or db2diag log was not helping much.


From that we could find the reason…

It was because the ‘XINT_PROFILE’ environment variable was not set..

How to set XINT_PROFILE is described clearly in here,

Comments

Popular posts from this blog

ORA-16433: The database or pluggable database must be opened in read/write

Oracle Multitenant - Create new service for PDB using DBMS_SERVICE

Wait for unread message on broadcast channel - Blocking Sessions