Restore jobs of DB2 fail with the error "0xe0000340 - The Database script returned an error. Refer to the Database script output section in job logs for more details".

Article:TECH50806  |  Created: 2007-01-13  |  Updated: 2012-11-16  |  Article URL http://www.symantec.com/docs/TECH50806
Article Type
Technical Solution

Product(s)

Issue



Restore jobs of DB2 fail with the error "0xe0000340 - The Database script returned an error. Refer to the Database script output section in job logs for more details".


Error



Final error: 0xe0000340 - The Database script returned an error. Refer to the Database script output section in job logs for more details.


Cause



DB2 is IBM's line of RDBMS or data server software products. The Symantec Backup Exec Agent for DB2 on Windows Servers (DB2 Agent) protects IBM DB2 databases on Microsoft Windows computers.

If circular logging is enabled on DB2, then user must uncheck "Restore database from full and/or incremental backups" option in order to perform restores successfully.
 


Solution



To uncheck the option "Restore database from full and/or incremental backups" option:

1. Go to Restore Job Properties| Settings| DB2

2. Uncheck the option "Restore database from full and/or incremental backups" option. (Figure 1)

Figure 1

 

Restores should now complete successfully.
 

Supplemental Materials

SourceETrack
Value896123
Description

UMI:Need to add tech notes for UMI Code V-79-57344-832.


SourceError Code
Value0xe0000340
Description

The Database script returned an error. Refer to the Database script output section in job logs for more details.



Legacy ID



287446


Article URL http://www.symantec.com/docs/TECH50806


Terms of use for this information are found in Legal Notices