PM83370: IFCID058 FIELDS QW0058TB AND QW0058IS, IFCID401 FIELDS QW0401TB AND QW0401IX ARE INCORRECTLY SET.

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • IFCID058 fields QW0058TB and QW0058IS are incorrectly set .
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All DB2 10 for z/OS users of the DB2 trace,  *
    *                 IFCIDs 58 and 401.                           *
    ****************************************************************
    * PROBLEM DESCRIPTION: For the DB2 trace, the IFCID 401 trace  *
    *                      record (fields QW0401IX and QW0401TB)   *
    *                      and the IFCID 58 trace record (fields   *
    *                      QW0058IS and QW0058TB) can provide      *
    *                      incorrect count values for the number   *
    *                      of index scans and the number of        *
    *                      tablespace scans respectively.          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    For the DB2 trace, the IFCID 401 trace record (fields QW0401IX
    and QW0401TB) and the IFCID 58 trace record (fields QW0058IS and
    QW0058TB) can provide incorrect count values for the number of
    index scans and the number of tablespace scans respectively.
    
    The number of index scans and the number of tablespace scans
    can be recorded incorrectly for IFCID 58 and IFCID 401 trace
    records.
    
    The DB2 performance trace record for IFCID 58 can contain
    incorrect values for the following fields:
    
      1. QW0058IS             NUMBER OF INDEX SCANS.
      2. QW0058TB             NUMBER OF TABLE SPACE SCANS.
    
    
    The DB2 monitor trace record for IFCID 401 can contain
    incorrect values for the following fields:
    
      1. QW0401IX             NUMBER OF INDEX SCANS.
      2. QW0401TB             NUMBER OF TABLE SPACE SCANS.
    
    
    The following example helps illustrate the problem.
    Given the following SQL statement.
    
      EXEC SQL
       SELECT LASTNAME INTO :HVC
       FROM EMP
       WHERE EMPNO =  000170;
    
    Using EXPLAIN, the above query is shown to use index access
    (ACCESSTYPE='I').
    
    When a performance trace for IFCID 58 is activated, both the
    QW0058IS and QW0058TB fields for the above statement are non-
    zero.
    
      QW0058IS = 1
      QW0058TB = 1
    
    When a monitor trace for IFCID 401 is activated, both the
    QW0401IX and QW0401TB fields for the above statement are zero.
    
      QW0401IX = 0
      QW0401TB = 0
    
    
    Please note that for the above statement, only fields for index
    scans are expected to be non-zero.  The fields for tablespace
    scans are expected to be 0.
    
    QW0058IS = 1
    QW0058TB = 0
    
    QW0401IX = 1
    QW0401TB = 0
    

Problem conclusion

  • DB2 is modified to update the trace counters correctly.
    
    Additional Keywords: IFCID401 IFCID058 INCORROUT
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM83370

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-02-21

  • Closed date

    2013-05-22

  • Last modified date

    2013-07-02

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

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

    UK94511

Modules/Macros

  •    DSNXERT  DSNXREOJ DSNXREO9 DSNXRFF  DSNXRFF9
    DSNXRFN  DSNXRFN9 DSNXROJ1 DSNXROJ9 DSNXRSFN DSNXRSGB DSNXRSG9
    DSNXRSN9 DSNXRT1J DSNXRT19 DSNXSBUC DSNXSIND DSNXSING
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RA10 PSY UK94511

       UP13/06/07 P F306

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

DB2 for z/OS

Software version:

A10

Reference #:

PM83370

Modified date:

2013-07-02

Translate my page

Machine Translation

Content navigation