IBM Support

IC89161: LAST_WLM_RESET IS MISSING FROM SCMETRICS AND WLMETRICS LOGICAL DATA GROUPS OF STATISTICS EVENT MONITOR

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Starting with Version 9.7 Fix Pack 6, two new logical data
    groups of monitor elements have been added to statistics event
    monitors to support direct access to individual monitor elements
    that were previously returned only in XML documents.
    
    The logical data groups event_scmetrics and event_wlmetrics
    contain monitor elements that report metrics-related
    information.  These new logical data groups are missing the
    LAST_WLM_RESET element.  The LAST_WLM_RESET together with the
    STATISTICS_TIMESTAMP can be used to compute the size of the
    interval over which the metrics accumulated (ie.
    statistics_timestamp - last_wlm_reset = size_of_duration).
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Anyone using the statistics event monitor                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Version 9.7 Fix Pack 8.   Once the upgrade is     *
    * complete the scmetrics and wlmetrics tables of an existing   *
    * statistics event monitor can be altered to add the           *
    * last_wlm_reset column and then reorganized to make the       *
    * tables usable.    For example, if a statistics event monitor *
    * named "stat" was created in v9.7 Fix Pack 7 and uses an      *
    * scmetrics table named "scmetics_stat", the following         *
    * commands could be used:                                      *
    *                                                              *
    * db2 alter table scmetrics_stat add last_wlm_reset timestamp  *
    * not null with default                                        *
    * db2 reorg table scmetrics_stat                               *
    *                                                              *
    * Similarly, if that same event monitor uses a wlmetrics table *
    * named "wlmetics_stat", the following commands could be used: *
    *                                                              *
    * db2 alter table wlmetrics_stat add last_wlm_reset timestamp  *
    * not null with default                                        *
    * db2 reorg table wlmetrics_stat                               *
    *                                                              *
    * Note that the event monitor cannot be active when the target *
    * tables are altered.                                          *
    ****************************************************************
    

Problem conclusion

  • Problem was first fixed in Version 9.7 Fix Pack 8
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC89161

  • 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

    2012-12-17

  • Closed date

    2013-04-01

  • Last modified date

    2013-04-01

  • 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 #: IC89161

Modified date: 01 April 2013