IBM Support

PI70486: DFHSM0002 APPLID A SEVERE ERROR (CODE X'4205') HAS OCCURRED IN MODULE DFHS2GF

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • You have a transaction that uses channel/container to transfer
    data.
    Your task issues a GET CONTAINER INTO command with
    BYTEOFFSET(0) specified. The BYTEOFFSET parm results in a piece
    of PGCRSET2 storage to be getmained by CICS and released when
    the task ends.
    The task issues a RETURN TRANSID CHANNEL before terminating.
    This means that the channel and its containers are detached
    from the terminating task, and bound to the new task. The new
    task then tries to freemain the PGCRSET2 storage again which
    results in the DFHSM0002 severe error (code X'4205') in
    DFHS2GF.
    .
    SM 4201 S2GF  ENTRY - FREEMAIN ADDRESS(000000**_********)
    
            FREE_LENGTH(****) REMARK(PGCRSET2)
    STORAGE_CLASS(TASK64)
    SM 4205 S2GF  *EXC* - Invalid_freemain_address - FREEMAIN
    
            ADDRESS(000000**_********) FREE_LENGTH(****)
    .
    This may also followed by a DFHPG0002 severe error (code
    X'190A') in DFHPGCR.
    Additional Symptom(s) Search Keyword(s): KIXREVxxx DFHSM0002
    SM0002 X'4205' 4205 DFHS2GF PGCRSET2 channel container
    BYTEOFFSET GET CONTAINER INTO DFHPG0002 PG0002 X'190A' 190A
    DFHPGCR.
    

Local fix

  • Remove the BYTEOFFSET(0) operand from the GET CONTAINER command
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS users.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: An attempt to delete a container        *
    *                      results in message DFHSM0002 applid A   *
    *                      severe error (code X'4205') has         *
    *                      occurred in module DFHS2GF.             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A task issues a GET CONTAINER request, specifying the BYTEOFFSET
    parameter. This causes CICS to issue a GETMAIN for PGCRSET2
    storage, which is anchored to the container.
    The task ends with a pseudoconversational return, passing the
    channel to the next task. The PGCRSET2 storage is TASK64
    storage, so this is released. A reference to it is retained in
    the container control block (crcb_offset_stg_address).
    The new task runs, and issues a DELETE CONTAINER request to
    delete the container. This could be either an explicit EXEC CICS
    DELETE CONTAINER request, or could occur during task
    termination. The delete container processing sees that there is
    an address in crcb_offset_stg_address, and so attempts to issue
    a freemain for the offset storage.
    .
    CICS produces exception trace entry
    SM 4205 S2GF *EXC* Invalid_freemain_address
    and issues message
    +DFHSM0002 applid A severe error (code X'4205') has occurred in
    module DFHS2GF.
    followed by
    +DFHPG0002 applid A severe error (code X'190A') has occurred in
    module DFHPGCR.
    .
    Additional Keywords: SM0002 msgDFHSM0002 PG0002 msgDFHPG0002
    AEXZ abendAEXZ
    

Problem conclusion

  • DFHPGCH has been updated so that delete container requests will
    clear the offset storage address from the CRCB.
    

Temporary fix

  • FIX AVAILABLE BY PTF ONLY
    

Comments

APAR Information

  • APAR number

    PI70486

  • Reported component name

    CICS TS Z/OS V5

  • Reported component ID

    5655Y0400

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-10-11

  • Closed date

    2016-11-18

  • Last modified date

    2016-12-01

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

    PI60220

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

    UI42711

Modules/Macros

  • DFHPGCH
    

Fix information

  • Fixed component name

    CICS TS Z/OS V5

  • Fixed component ID

    5655Y0400

Applicable component levels

  • R800 PSY UI42711

       UP16/11/23 P F611

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

Document Information

Modified date:
01 December 2016