IBM Support

IC80396: ERROR SQL0727N WITH SYSTEM ACTION TYPE "5" AND SQLCODE "-551" CALLING A STORED PROCEDURE AFTER RUNNING: "DB2UPDV97 -A"

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When the database configuration parameter auto_reval is set to
    DISABLED and you run "db2updv97 -a" it updates the DEFINER
    column to 'SYSIBM' in the system catalog table
    SYSIBM.SYSROUTINES for any stored procedure that uses the
    UTL_FILE module.
    
    Consequently, you might get error SQL0727N with system action
    type "5" and SQLCODE "-551" when you call that stored procedure.
    
    The error message is like this:
    
    SQL0727N  An error occurred during implicit system action type
    "5".
    Information returned for the error includes SQLCODE "-551",
    SQLSTATE "42501" and message tokens .........|EXECUTE|.......".
    SQLSTATE=56098
    
    Note that if you upgrade a database from Version 9.5 or earlier,
    the database configuration parameter auto_reval is set to
    DISABLED.
    

Local fix

  • As a workaround you can drop the stored procedure and create it
    again.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of DB2 for Linux, UNIX and Windows                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * .                                                            *
    ****************************************************************
    

Problem conclusion

  • Problem was first fixed in Version 9.7 Fix Pack 6.
    At a minimum, this fix should be applied on the database server.
    

Temporary fix

  • As a workaround you can drop the stored procedure and create it
    again.
    

Comments

APAR Information

  • APAR number

    IC80396

  • 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-12-13

  • Closed date

    2012-06-12

  • Last modified date

    2012-06-12

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

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

    IC84487

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.7","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
12 June 2012