IBM Support

IC84487: 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:                                              *
    * All                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 10.1 FP1 or subsequent fix pack.              *
    ****************************************************************
    

Problem conclusion

  • Problem First Fixed in DB2 Version 10.1 Fix Pack 1
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC84487

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-06-14

  • Closed date

    2012-12-04

  • Last modified date

    2012-12-04

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

    IC80396

  • 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

  • RA10 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":"10.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
04 December 2012