IBM Support

PH43386: DFHWB0002 SEVERE ERROR (CODE X'071D') IN MODULE DFHWBCL. GETMAIN_ERROR

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The following message occurred.
    .
    DFHWB0002 .. A SEVERE ERROR (CODE X'071D') HAS OCCURRED IN
                 MODULE DFHWBCL.
                                                                   .
    From the CICS internal trace, there was an exception entry like:
                                                                   .
    WB 071D WBCL  *EXC* - GETMAIN_ERROR FUNCTION(READ_RESPONSE)
      TRANSLATE(NO) TRUNCATE(YES) SESSION_TOKEN(34A24000 , 00000368)
      TIME_OUT_VALUE(FFFF)
      STATUS_TEXT(321EE7DA , 0000000F , 00000100)
                                                                   .
    The address in the SESSION_TOKEN was for the Web Client session,
    (WBO) block.
    From the WBO block, this showed the close header on response
    flag was on, the server was at http 1.1 or later, there was no
    content length existing and that the length of the response body
    was zeroes.
                                                                   .
    As there is no content-length header, DFHWBCL tries to receive
    the response body until the connection is closed, however there
    is also no response body.
    The first receive call returns a connection_closed response.
    This is correctly handled but DFHWBCL then attempts to allocate
    a zero length SET buffer.
    The getmain for this SET buffer fails and causes the severe
    error and dump to be issued.
    DFHWBCL should not attempt to continue with set buffer
    processing when the socket is closed and there is no response
    body to return to the caller.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS Users                               *
    ****************************************************************
    * PROBLEM DESCRIPTION: DFHWB0002 message with code(x'071D')    *
    *                      issued during EXEC CICS WEB RECEIVE SET *
    *                      command.                                *
    ****************************************************************
    * RECOMMENDATION: None                                         *
    ****************************************************************
    A CICS application uses EXEC CICS WEB SEND to send an HTTP
    request to a remote server.  An EXEC CICS WEB RECEIVE SET is
    issued to receive the response.  The server returns an HTTP
    error response of some kind and then immediately closes the
    connection.  DFHWBCL receives the HTTP headers and detects this
    is an HTTP/1.1 response that contains a Connection: close header
    but does not contain a Content-Length header.  This causes
    DFHWBCL to attempt to receive the response body data up until
    the connection is closed.  The connection was closed
    immediately without any body data being received.  DFHWBCL
    continues to allocate a SET buffer using the length of zero.
    DFHSMGF rejects the getmain with length of zero.  The getmain
    failure was unexpected and that causes DFHWBCL to issue a
    DFHWB0002 message with code(x'071D') and take a system dump.
    

Problem conclusion

  • DFHWBCL has been changed to no longer allocate a SET buffer when
    there was no response body received.
    The WB 071D trace point has been corrected to format the correct
    SMGF parameter list in data-2 when tracing an unexpected
    getmain or freemain failure.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH43386

  • Reported component name

    CICS TS Z/OS V5

  • Reported component ID

    5655Y0400

  • Reported release

    300

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-01-17

  • Closed date

    2022-04-06

  • Last modified date

    2022-05-03

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

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

    UI80028

Modules/Macros

  • DFHWBAP  DFHWBAPF DFHWBBLI DFHWBCL  DFHWBSR  DFHWBSV
    

Fix information

  • Fixed component name

    CICS TS Z/OS V5

  • Fixed component ID

    5655Y0400

Applicable component levels

  • R300 PSY UI80028

       UP22/04/22 P F204

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.

[{"Line of Business":{"code":"LOB35","label":"Mainframe SW"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.6"}]

Document Information

Modified date:
04 May 2022