IBM Support

IC74998: DB2PD WITH FULL DATABASE SCOPE OPTIONS ONLY DUMPS ANCHOR ID 0 FOR DYNAMIC SQL CACHE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In version 9.7, the db2pd -dynamic command allows specification
    of anchor ID
       -dynamic [anch=<AnchId>] [file=<filename>]
          Dynamic Cache
    
    The default it to dump all information from the dynamic
    statement cache, i.e. for all anchors.  This works when
    explicitly specifying -dynamic option, but when requesting all
    database scope options ( -eve or -db <database> with no specific
    option ), only the information for anchor 0 is returned, so
    there is a lot of missing information.  This is especially
    important for FODC data collections for diagnosing more severe
    DB2 problems.
    

Local fix

  • Issue the -dynamic option explicitly in order to get full
    information from the dynamic statement cache.
       db2pd -db <db> -dynamic
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All DB2 Server systems                                       *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * See Local Fix                                                *
    ****************************************************************
    

Problem conclusion

  • Problem first fixed in DB2 Version 9.7 Fix Pack 5
    

Temporary fix

  • See Local Fix
    

Comments

APAR Information

  • APAR number

    IC74998

  • 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-11

  • Closed date

    2012-05-23

  • Last modified date

    2012-05-23

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

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

Modules/Macros

  • pd
    

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.7"}]

Document Information

Modified date:
18 September 2021