Skip to Main Content
IBM Z Software


This portal is to open public enhancement requests against IBM Z Software products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Delivered
Categories Runtime
Created by Guest
Created on Apr 20, 2020

CICS should never loop endlessly when gathering statistics and writing them out to SMF

Sometimes, CICS statistics collection goes awry and loops endlessly. When this happens, CICS writes statistics to SMF for the same group of resources over and over in a never-ending loop. This causes CICS to become unusable and to have to be cancelled. However, in a recent occurrence, these never-ending writes to SMF resulted in SMF depleting ESQA such that an LPAR entered a wait state and had to be IPLed.

Often, this statistics-gathering loop happens while CICS is gathering terminal statistics. Let's say there are 10 terminals named A through J. CICS would normally access these terminals' control blocks one at a time, A through J, gathering the stats and writing them out to SMF. After CICS gathers stats for the last terminal, CICS would move on to gather stats for a different resource class. But when the problem happens, CICS never gets to the end of the terminals. Midway through the terminal resources, something causes CICS to start over at the beginning of the terminal resources. This results in CICS writing statistics for, for example, terminals A, B, C, and D over and over. The code will keep doing this until it gets to the end of the terminals. But because midway through CICS starts over at the beginning, CICS never makes it to the end of the terminals. CICS just writes terminal statistics to SMF for the same group of terminals over and over and over in a never-ending loop.

We have seen this behavior when there is an overlay of a CICS control block having to do with
the resource where CICS loops back to the beginning. The overlay has *not* caused the control blocks to be incorrectly chained in a loop. Rather the overlay just makes something not right about the control block. CICS behaves as if its design is to start over at the beginning of that resource class when something is not right with the control block whose stats are being gathered.

We are finding it is not possible to ensure that CICS control blocks will never be overlayed. Not all CICS regions can run with STGPROT=YES. And when STGPROT is active, some application programs need to be defined as CICSKEY. Sometimes application programs are defined as CICSKEY by mistake. Some vendor programs need to be defined as CICSKEY, or they simply run in CICSKEY. All Task Related User Exits and Global User Exits are invoked in CICS key. All of these programs can have bugs that result in overlays of CICS control blocks.

Given that overlays of CICS control blocks remain a practical reality, and given that such overlays can result in a statistics gathering loop that can bring down an LPAR, we request that CICS' statistics gathering code be enhanced as follows:

- It watches out for and detects when CICS statistics gathering is mired in a never-ending loop

- When it detects that, it fixes the problem or brings down CICS with an appropriate message.

Idea priority High
  • Guest
    Reply
    |
    Jun 17, 2022
    Support for this is provided in CICS TS 6.1 which is generally available from 17th June 2022.

    For more information see https://www.ibm.com/docs/en/cics-ts/6.1?topic=whats-new
  • Guest
    Reply
    |
    Apr 5, 2022
    Loop avoidance changes have been provided in CICS TS 6.1 which is announced today April 5th and will GA June 17th 2022.

    See Announcement letter https://www.ibm.com/common/ssi/ShowDoc.wss?docURL=/common/ssi/rep_ca/2/897/ENUS222-092/index.html&request_locale=en
  • Guest
    Reply
    |
    Mar 12, 2021

    This is something we would like to address. The RFE is being moved into 'Planned for Future release' status. Please note:
    IBM’s statements regarding its plans, directions, and intent are subject to change or withdrawal without notice at IBM’s sole discretion. Information regarding potential future products is intended to outline our general product direction and it should not be relied on in making a purchasing decision. The information mentioned regarding potential future products is not a commitment, promise, or legal obligation to deliver any material, code or functionality. Information about potential future products may not be incorporated into any contract. The development, release, and timing of any future features or functionality described for our products remains at our sole discretion.

  • Guest
    Reply
    |
    Jun 25, 2020

    This is a candidate for a future release