IBM Support

IC95247: DATABASE SYSTEM ERROR 'SQLCODE=-901, SQLSTATE=58004' MAY OCCUR WHILE CREATING PL/SQL PACKAGES

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • After issuing a CREATE OR REPLACE PACKAGE or CREATE OR REPLACE
    PACKAGE BODY statement to DB2, you may receive one of the
    following errors:
    
    DB21034E  The command was processed as an SQL statement because
    it was not a valid Command Line Processor command.  During SQL
    processing it returned: SQL0901N  The SQL statement or command
    failed because of a database system error. (Reason
    "sqlri_ddl_common: unexpected sqlcode for DDL!".)
    SQLSTATE=58004
    
    Or:
    
    DB21034E  The command was processed as an SQL statement because
    it was not a valid Command Line Processor command.  During SQL
    processing it returned: SQL0901N  The SQL statement or command
    failed because of a database system error. (Reason "".)
    SQLSTATE=58004
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Update to DB2 Version 10.5 Fix Pack 3.                       *
    ****************************************************************
    

Problem conclusion

  • This problem is fixed in DB2 Version 10.5 Fix Pack 3.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC95247

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    A50

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-08-27

  • Closed date

    2014-02-27

  • Last modified date

    2014-02-27

  • APAR is sysrouted FROM one or more of the following:

    IC90636

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RA50 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 10.5

Reference #: IC95247

Modified date: 27 February 2014