IBM Support

Oracle RMAN SBT error messages

Question & Answer


Question

RMAN and ORA (SBT Interface) error message return codes when using Tivoli Data Protection Oracle.

Answer

The Data Protection for Oracle uses RMAN for the backup process. RMAN uses the SBT version2 (sbt2) functions for the interface with Tivoli Data Protection for Oracle.

Recovery Manager SBT API Error codes/messages.
------------------------
When errors occur through the SBT interface, the error number/message is shown by the Recovery Manager as an 'Additional Information' message. Both the version 1.1 and version 2 SBT function messages can be witnessed. Below is the list of 'Additional Information' message numbers, and the corresponding error text. (This information is derived from the Oracle function skgfqsbt.h.)

Version 1.1 error codes.
**************************

/* error codes for sbtopen */
7000 /* file not found (only for read) */
7001 /* file exists (only for write) */
7002 /* bad mode specified */
7003 /* bad block size specified */
7004 /* no tape device found */
7005 /* device is busy ; try again later */
7006 /* tape volume not found */
7007 /* tape volume is in-use */
7008 /* I/O Error */
7009 /* cant connect with Media Manager */
7010 /* permission denied */
7011 /* OS error */
7012 /* invalid argument(s) */

/* error codes for sbtclose */
7020 /* bad th (no sbtopen done) */
7021 /* bad flags */
7022 /* I/O error */
7023 /* OS error */
7024 /* invalid argument(s) */
7025 /* cant connect with Media Manager */

/* error codes for sbtwrite */
7040 /* bad th */
7042 /* I/O error */
7043 /* OS error */
7044 /* invalid argument(s) */

/* error codes for sbtread */
7060 /* bad th */
7061 /* EOF encountered */
7063 /* I/O error */
7064 /* OS error */
7065 /* invalid argument(s) */

/* error codes for sbtremove */
7080 /* backup file not found */
7081 /* backup file being used */
7082 /* I/O Error */
7083 /* cant connect with Media Manager */
7084 /* permission denied */
7085 /* OS error */
7086 /* invalid argument(s) */

/* error codes for sbtinfo */
7090 /* backup file not found */
7091 /* I/O Error */
7092 /* cant connect with Media Manager */
7093 /* permission denied */
7094 /* OS error */
7095 /* invalid argument(s) */

/* error codes for sbtinit */
7110 /* invalid argument(s) */
7111 /* OS error */

Common error codes. Can be issued by any SBT V2 function.
**********************************************************
7500 /* Operator intervention requested */
7501 /* Catch-all media manager error */
7502 /* File Not Found */
7503 /* File already exists */
7504 /* End of File */
7505 /* cant proxy copy the specified file */
7506 /* no proxy work in progress */

[{"Product":{"code":"SSTFZR","label":"Tivoli Storage Manager for Databases"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":null,"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]

Product Synonym

TSM

Document Information

Modified date:
17 June 2018

UID

swg21083552