IBM Support

IC82929: RUNSTATS COMMAND RECORDS UNNECESSARY MESSAGE IN DB2DIAG.LOG,IF TABLESPACE IS BACKUP PENDING STATE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • runstats command records unnecessary message in db2diag.log.
    
    Tablespace is Backup pending state.
    $ db2 list tablespaces
    ... snip ...
     Tablespace ID                        = 2
     Name                                 = USERSPACE1
     Type                                 = Database managed space
     Contents                             = All permanent data.
    Large table space.
     State                                = 0x0020
       Detailed explanation:
         Backup pending
    
    Then execute runstats command against index.
    $ db2 "runstats on table db2inst1.employee for indexes all"
    DB20000I  The RUNSTATS command completed successfully.
    
    In db2diag.log, runstats command recorded the following entry.
    
    2012-04-23-16.04.39.230810+540 I1819A507          LEVEL: Severe
    PID     : 11665458             TID  : 2489        PROC : db2sysc
    0
    INSTANCE: db2inst1             NODE : 000         DB   : SAMPLE
    APPHDL  : 0-69                 APPID:
    *LOCAL.db2inst1.120423065646
    AUTHID  : DB2INST1
    EDUID   : 2489                 EDUNAME: db2agent (SAMPLE) 0
    FUNCTION: DB2 UDB, index manager, sqlifix, probe:371
    RETCODE : ZRC=0x80020032=-2147352526=SQLB_NOT_ALLOWED_BACKUP_P
              "Access not allowed. Tblspc Backup Pend."
    
    ... snip ...
    
    2012-04-23-16.04.39.247349+540 I5743A522          LEVEL: Error
    PID     : 11665458             TID  : 2489        PROC : db2sysc
    0
    INSTANCE: db2inst1             NODE : 000         DB   : SAMPLE
    APPHDL  : 0-69                 APPID:
    *LOCAL.db2inst1.120423065646
    AUTHID  : DB2INST1
    EDUID   : 2489                 EDUNAME: db2agent (SAMPLE) 0
    FUNCTION: DB2 UDB, relation data serv, sqlrLocalRunstats,
    probe:2010
    MESSAGE : ZRC=0x80020032=-2147352526=SQLB_NOT_ALLOWED_BACKUP_P
              "Access not allowed. Tblspc Backup Pend."
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 UDB version 9.7 fix pack 7.                   *
    ****************************************************************
    

Problem conclusion

  • Problem was first fixed in DB2 UDB Version 9.7 Fix Pack 7.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC82929

  • 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-04-25

  • Closed date

    2012-10-30

  • Last modified date

    2012-10-30

  • 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

[{"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:
30 October 2012