IBM Support

PH10066: DFHSM0002 0305 DFHSMGF DOUBLE FREEMAIN OF PROGRAM_LISTFREE STORAGE 19/10/18 PTF PECHANGE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Running CICS TS 5.2 you experience the following error message:
    
    DFHSM0002 A severe error (code X'0305') has occurred in
                           module DFHSMGF
    
    Here is the exception trace entry from the dump:
    SM 0305 SMGF  *EXC* - Invalid_freemain_address -
                                 FUNCTION(FREEMAIN)
                                 ADDRESS(addr) STORAGE_CLASS(CICS)
    
    Searching on the addresss in trace, you can see it getmained
    by DFHPISN and also first freemained by DFHPISN.
    Then this  freed address is referenced in the following
    trace entry:
    
    PI 0C81 PISH  EXIT  RECEIVE-RESPONSE
                  PROGRAM_LIST_PTR(addr)  <---
                  HEADER_PROGRAM_RESPONSE(1)
                  RESPONSE(1) REASON(0)
    
    DFHPISN then tries to freemain this same addr, causing the
    DFHSM0002 error
    
    Additional Symptom(s) Search Keyword(s): KIXREVDAM
    PROGRAM_LIST
    This problem is possibly related to APAR PI87928.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS Users.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: A program that issues a web services    *
    *                      request abends SM0002 due to severe     *
    *                      error (code X'0305') in module DFHSMGF. *
    ****************************************************************
    A requester PIPELINE with 12 or more SOAP header handlers is
    installed in CICS.  A program issues an EXEC CICS INVOKE
    WEBSERVICE command that specifies this PIPELINE.
    The SEND-REQUEST phase of the PIPELINE works correctly, and it
    creates a PROGRAM_LIST structure for the SOAP header handlers
    which after calling them it then freemains.
    
    When a response is received, and the RECEIVE-RESPONSE phase of
    the PIPELINE runs it also creates a PROGRAM_LIST structure for
    the SOAP header handlers.  Since there are 12 or more SOAP
    header handlers a larger PROGRAM_LIST is getmained and the
    initial PROGRAM_LIST is freemained.
    However, although the RECEIVE-RESPONSE phase does correctly call
    each of the SOAP header handlers it keeps the address of the
    initial PROGRAM_LIST instead of the larger PROGRAM_LIST.
    This results in an abend SM0002 together with message DFHSM0002
    when it attempts to freemain the initial PROGRAM_LIST which has
    already been freemained.
    
    DFHSM0002 applid A severe error (code X'0305') has occurred in
    module DFHSMGF.
    
    Additional keywords: msgDFHSM0002
    

Problem conclusion

  • UI52924 UI52925 UI52929 UI53223 UI60737 UI57327
    
    DFHPISN routine process_response has been changed to return the
    correct PROGRAM_LIST address to be freemained.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH10066

  • Reported component name

    CICS TS Z/OS V5

  • Reported component ID

    5655Y0400

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    YesPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-03-22

  • Closed date

    2019-11-13

  • Last modified date

    2019-11-30

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

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

    PH18332 UI66230 UI66231 UI66232

Modules/Macros

  • DFHECEI  DFHEPAS  DFHMEPIC DFHMEPIE DFHMEPIK DFHMLJS  DFHMLTF
    DFHPIA1  DFHPIAD  DFHPIAT  DFHPICA  DFHPICC  DFHPIDM  DFHPIDSH
    DFHPIDUF DFHPIII  DFHPIIW  DFHPIJG  DFHPIJP  DFHPIJP1 DFHPIJS
    DFHPIJW  DFHPILN  DFHPIMM  DFHPIPL  DFHPIPM  DFHPIPM2 DFHPIPS
    DFHPIRE  DFHPIRI  DFHPIRL  DFHPIRM  DFHPIRN  DFHPIRS  DFHPISC
    DFHPISF  DFHPISN  DFHPIST  DFHPITC  DFHPITC1 DFHPITC2 DFHPITC3
    DFHPITE  DFHPITH  DFHPITL  DFHPITQ  DFHPITRI DFHPITS  DFHPIUE
    DFHPIWR  DFHPIWT  DFHPIXI  DFHPIXM  DFHPIXO  DFHWSADH DFHWSATR
    

Fix information

  • Fixed component name

    CICS TS Z/OS V5

  • Fixed component ID

    5655Y0400

Applicable component levels

  • R000 PSY UI66232

       UP19/11/30 P F911 {

  • R100 PSY UI66231

       UP19/11/30 P F911 {

  • R900 PSY UI66230

       UP19/11/30 P F911 {

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"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.2","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}},{"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":"5.2","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
30 November 2019