IBM Support

IC75264: AFTER RUNNING DB2UPDV97, CALLING SYSPROC.ADMIN_REVALIDATE_DB_OBJECTS() WILL FAIL WITH SQL0204N

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • After updating the instance to a newer fix pack, it is
    recommended to run db2updv97, which modifies system objects and
    in turn mark some of them as invalid. Calling
    SYSPROC.ADMIN_REVALIDATE_DB_OBJECTS immediately after running
    db2updv97, to revalidate these invalid system objects, will fail
    with the below error.
    
    db2 "call sysproc.admin_revalidate_db_objects()"
    call sysproc.admin_revalidate_db_objects()
    SQL20508N  An error occurred during the revalidation of object
    "SYSIBMADM.UTL_MAIL.UTL_MAIL_IMP_ADD_BOUNDARY_TEXT". Operation
    "REVALIDATION"
    failed with SQLCODE "-204", SQLSTATE "42", and message tokens
    "".
    SQLSTATE=5UA03
    

Local fix

  • A workaround is to run db2rbind, make sure there are no errors
    and then retry calling SYSPROC.ADMIN_REVALIDATE_DB_OBJECTS().
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users calling the stored procedure                           *
    * SYSPROC.ADMIN_REVALIDATE_DB_OBJECTS() after running          *
    * db2updv97 on DB2 Version 9.7 Fix Pack 1 through Fix Pack 3a  *
    * on Linux, Windows and Unix.                                  *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When revalidating the system object                          *
    * SYSIBMADM.UTL_MAIL.UTL_MAIL_IMP_ADD_BOUNDARY_TEXT through a  *
    * call to SYSPROC.ADMIN_REVALIDATE_DB_OBJECTS(), SQL0204N will *
    * be returned due to incorrect schema checking.                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Refer to Local Fix or apply DB2 Version 9.7 Fix Pack 4 and   *
    * re-issue the command.                                        *
    ****************************************************************
    

Problem conclusion

  • Problem is first fixed in DB2 Version 9.7 Fix Pack 4 and all
    subsequent Fix Packs.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC75264

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-03-24

  • Closed date

    2011-04-28

  • Last modified date

    2011-04-28

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

  • 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

  • R970 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC75264

Modified date: 28 April 2011