Db2 Reports Error "*RATE_DDL;;SQL0551 Reason Code or Token: READER,CREATE TABLE,SYSTOOLSP"

Problem

When extracting metadata from a Db2 database, the database reports the following error.

DB2 SQL Error: SQLCODE=-443, SQLSTATE=38553, SQLERRMC=*RATE_DDL;;SQL0551 Reason code or token: READER,CREATE TABLE,SYSTOOLSP

Solution

  1. Log in to the Db2 database using an administrator account.

  2. Run the following command.

    drop package nullid.db2lksp;
    
  3. Perform the steps described in Db2 Integration Requirements to properly initialize the required database structures.