HomeDB2DB2 Error Code – -601 the name of the object to be created is identical to the existing name name of the object type obj type

DB2 Error Code – -601 the name of the object to be created is identical to the existing name name of the object type obj type

In this post, you’ll learn about the error message -601 the name of the object to be created is identical to the existing name name of the object type obj type in the IBM DB2 database , the reason why it occurs along with the solution to fix it

IBM DB2 Error Message

-601 the name of the object to be created is identical to the existing name name of the object type obj type

Reason for the Error

The CREATE statement sought to create an object ‘name’ of type ‘obj type’ when there is already an object of that type with the same name defined in the DB2 subsystem.� If ‘obj type’ is constraint, the ‘name’ was specified in the FOREIGN KEY clause of either a CREATE or ALTER TABLE statement.

Solution

Either the existing object must be dropped or another name must be chosen for the new object.� If ‘obj type’ is data set, an IDCAMS DELETE of the data set must be done before the CREATE is retried.

Share:

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

In this post, you’ll learn about the error message -952 processing was interrupted by a cancel request from a client...
  • DB2
  • November 21, 2022
In this post, you’ll learn about the error message -927 the langrage interface was called when the connecting environment was...
  • DB2
  • November 21, 2022
In this post, you’ll learn about the error message -926 rollback not valid in ims/vs or cics environment in the...
  • DB2
  • November 21, 2022