IBM Support

PI47306: HANG IN DB2 SHUTDOWN DUE TO INCORRECT STOP DATABASE COUNTERS

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DB2 hangs during STOP DB2 shutdown process. The ACOM counter for
    STOP DATABASE commands has incorrect values.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Administrators, stopping DB2 after executing *
    *                 a combination of synchronous STOP DATABASE   *
    *                 commands as batch job (or through IFI) with  *
    *                 parallel execution of AUTO GRECP, dictionary *
    *                 creation or asynchronous STOP DATABASE       *
    *                 commands.                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: The synchronous execution of the STOP   *
    *                      DATABASE command (if submitted as batch *
    *                      job or via IFI) may have adjusted an    *
    *                      internal counter for synchronization    *
    *                      with STOP DB2 in a way that causes the  *
    *                      STOP DB2 processing to wait infinitely. *
    ****************************************************************
    * RECOMMENDATION: Avoid executing synchronous STOP DATABASE    *
    *                 commands (via batch job or IFI) while being  *
    *                 in AUTO GRECP or while executing parallel    *
    *                 asynchronous STOP DATABASE commands (i.e.    *
    *                 via console).                                *
    ****************************************************************
    A DB2 shutdown may wait until being cancelled for the counter
    that represents running STOP DATABASE and AUTO GRECP tasks to
    become zero. This counter is not maintained correctly.
    

Problem conclusion

  • This fix ensures the correct maintenance of the counter that
    tracks the parallel execution of AUTO GRECP and STOP DATABASE
    commands. A scenario, where a DB2 shutdown is waiting for this
    counter to become zero while actually no AUTO GRECP or STOP
    DATABASE tasks are running anymore, is no longer showing.
    

Temporary fix

  • *********
    * HIPER *
    *********
    

Comments

APAR Information

  • APAR number

    PI47306

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-08-20

  • Closed date

    2015-10-12

  • Last modified date

    2015-11-03

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

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

    UI31939 UI31940

Modules/Macros

  • DSNIAGBR DSNTADL  DSNTDMST DSNUZLCR
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RA10 PSY UI31939

       UP15/10/27 P F510

  • RB10 PSY UI31940

       UP15/10/27 P F510

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":"11.0","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":"11.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
03 November 2015