IBM Support

PH50022: CICS DOES NOT CLEAN UP SOCKET CONTROL BLOCKS WHEN AIO_CANCEL REQUEST COMPLETES WITH AIORV=2 LEADING MAXSOCKETS LIMIT BE REACHED.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • CICS has used BPX1AIO to issue an AIO_CANCEL to cancel an
    outstanding async receive on a socket. When the cancel completes
    with a AIORV=2 CICS does not clean up the socket control blocks
    correctly and the CICS socket object is then left in a state
    where it believes IO is active resulting in the MAXSOCKETS limit
    being reached eventually.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS users                               *
    ****************************************************************
    * PROBLEM DESCRIPTION: After many failed attempts to acquire   *
    *                      IPIC connections, CICS issues message   *
    *                      DFHSO0126 An attempt to create a socket *
    *                      has failed because the MAXSOCKETS       *
    *                      limit has been reached.                 *
    ****************************************************************
    Attempts were made to acquire some IPIC connections but these
    failed with capex exceptions. AIO_CANCEL requests to cancel the
    outstanding receives failed with AIO_NOTCANCELED (2). After this
    happened repeatedly, the MAXSOCKETS limit was reached and CICS
    started issuing DFHSO0126 messages.
    

Problem conclusion

  • CICS has been updated to ensure we clean up the socket
    correctly if we receive a AIORV=2 (AIO_NOTCANCELED).
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH50022

  • Reported component name

    CICS TS Z/OS V5

  • Reported component ID

    5655Y0400

  • Reported release

    100

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-10-05

  • Closed date

    2023-02-24

  • Last modified date

    2023-03-01

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

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

    PH52115 UI90708 UI90709 UI90710

Modules/Macros

  • DFHSOS03
    

Fix information

  • Fixed component name

    CICS TS Z/OS V5

  • Fixed component ID

    5655Y0400

Applicable component levels

  • R100 PSY UI90710

       UP23/02/28 P F302

  • R200 PSY UI90709

       UP23/02/25 P F302

  • R300 PSY UI90708

       UP23/02/25 P F302

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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.4","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
01 March 2023