DB2 Error Code – -621 database cannot be created because assigned dbid dbid is the same one as assigned to database dbname

In this post, you’ll learn about the error message -621 database cannot be created because assigned dbid dbid is the same one as assigned to database dbname in the IBM DB2 database , the reason why it occurs along with the solution to fix it

IBM DB2 Error Message

-621 database cannot be created because assigned dbid dbid is the same one as assigned to database dbname

Reason for the Error

The current database being created was assigned a DBID of ‘dbid’, which is identical to the DBID assigned to database ‘database name’.� An inconsistency exists between the DB2 catalog and directory.

Solution

Notify the system programmer. The inconsistency must be corrected before CREATE DATABASE will be successful. System