IBM Support

PK59535: RUNSTATS ON VARGRAPHIC COLUMN USING COLGROUP FREQVAL GENERATES INCORROUT IN SYSIBM.SYSCOLDIST.COLVALUE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • RUNSTATS on VARGRAPHIC column using COLGROUP FREQVAL generates
    incorrout in SYSIBM.SYSCOLDIST.COLVALUE, e.g.:
    
    RUNSTATS TABLESPACE TPVARG.TSVARG
     TABLE(ADMF001.VARTEST)
     COLGROUP(CVARG) FREQVAL COUNT 10;
    
    where CVARG is defined as VARGRAPHIC - returns for
    
    SYSIBM.SYSCOLDIST.COLVALUE
    
    X'004100000000000000000000000000000000000000000000' -> incorrout
    
    correct would be:
    
    X'004100200020002000200020002000200020002000200020'
    
    The incorrout is for Incorrect padding. Correct padding would
    have spaces.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All DB2 V8 and V9 for z/OS utility users.    *
    ****************************************************************
    * PROBLEM DESCRIPTION: RUNSTATS COLGROUP FREQVAL generates     *
    *                      INCORROUT COLVALUE for VARGRAPHIC       *
    *                      datatype columns in a DBCS              *
    *                      environment.                            *
    ****************************************************************
    * RECOMMENDATION: Apply corrective PTF when available.         *
    ****************************************************************
    When the user executed RUNSTATS TABLESPACE TABLE COLGROUP
    FREQVAL on a VARGRAPHIC column using a DBCS CCSID, the
    colvalue generated was incorrect. This incorrect value was
    reported in MSGDSNU616I and the SYSIBM.SYSCOLDIST catalog
    was updated with the incorrect value.
    
    The incorrect value was caused by using a wrong length
    for the padding character. The bad value in the catalog table
    caused optimizer to select incorrect access paths.
    

Problem conclusion

  • The code was modified to use the correct length for the
    padding characters.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK59535

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    810

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-01-18

  • Closed date

    2008-02-06

  • Last modified date

    2008-03-03

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

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

    UK33517 UK33518

Modules/Macros

  • DSNUSTBL
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • R810 PSY UK33517

       UP08/02/23 P F802

  • R910 PSY UK33518

       UP08/02/23 P F802

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.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEPEK","label":"Db2 for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
03 March 2008