Skip to Content
author's profile photo Former Member
Former Member

How to drop dependent object

Hi Experts,

I am uninstalling SAP instance now and get stuck in the drop schema phase due to the following error:

drop schema DB2BJ1 restrict

DB21034E The command was processed as an SQL statement because it was not a

valid Command Line Processor command. During SQL processing it returned:


cannot be processed because there is an object

"DB2BJ1.EVMON_LOCKING_SCHEMA_SQL09070", of type "XSROBJECT", which depends on

it. SQLSTATE=42893

Please provide me the db2 command to remove the dependent object.

Thanks and Regards,


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Dec 08, 2011 at 04:16 AM

    Run the SQL


    Then try to drop the schema.

    You can also use the ADMIN_DROP_SCHEMA procedure to drop a schema.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Ratnajit Dey

      Hi Ratnajit,

      Thanks for your feedback, however it's too late, i've reinstalled the instance from scratch after doing manual deletion, yet i appreciate your effort and i reward point for you.

      The system is now completely finished after struggling with some errors.

      Thank you and Regards,


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.