IBM Support

IC76372: 2-PART NAME REFERENCES TO A MODULE ROUTINE MAY FAIL TO RE-RESOLVE AFTER A SCHEMA CHANGE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • Within the same connection, if there are multiple identical
    references to a function or procedure of the form
    (<module-name>.<routine-name>), DB2 may fail to
    re-resolve the schema name despite a schema change.
    
    Example:
    
    Assuming the existence of procedures M.Proc1  (where M is the
    name of a module or PL/SQL package) in both schema A and schema
    B.
    
    set current schema = A;
    set current path = A, sysproc, sysfun, sysibm;
    
    call M.Proc1 ();
    
    set current schema = B;
    set current path = B, sysproc, sysfun, sysibm;
    
    --  A.M.Proc1, instead of B.M.proc1, may be incorrectly invoked.
    call M.Proc1 ();
    

Local fix

  • Add a "flush package cache dynamic" statement after changing
    current schema.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * User prior to Db2 v97fp6                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 v97fp6                                        *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IC76372

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-05-13

  • Closed date

    2012-11-21

  • Last modified date

    2012-11-21

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

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

    IC84394

Fix information

Applicable component levels

  • R970 PSY

       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:
21 November 2012