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.
Then we were looking at - tdpdb2.<SID>.<nodename>.log
(http://publib.boulder.ibm.com/infocenter/tsminfo/v6/index.jsp?topic=%2Fcom.ibm.itsm.erp.doc%2Fr_dperp_d_prob_reasoncodes.html)
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
Post a Comment