IBM Support

PK69034: DFHWBCLI RETURNS HTTP ERROR WHEN NO TRANSLATION OF REQUEST BODY IS REQUIRED

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A call to DFHWBCLI will fail when
    WBCLI_FLAGS is set indicate that the request
    body is a native request body (WBCLI_NATIVE_REQUEST_BODY)
    
    This causes the charset value to be not set correctly when sent
    to the requested service. Charset will appear as garbage
    characters in trace entry SOCK 0201
    
    E.G. as follows:
    
    SO 0201 SOCK  ENTRY - FUNCTION(SEND) SOCKET_TOKEN(01070001)
    BUFFER_LIST(14B9669C , 00000002)
    
    *POST /WSAutoReg/Service.svc HTTP*
    */1.1..Host: 9.20.122.69:10089..U*
    *ser-Agent: IBM_CICS_Transaction_*
    *Server/3.2.0(zOS)..Content-Type:*
    * text/xml; charset=......(...v..*
    *...DFHCETRD..Content-Length: 168*
    *..Connection: Keep-Alive..Date: *
    *Fri, 11 Jul 2008 09:52:43 GMT..T*
    *E: trailers....                 *
    

Local fix

  • Do not turn on the WBCLI_NATIVE_REQUEST_BODY flag.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All Users                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: If the WBCLI_NATIVE_REQUEST_BODY flag   *
    *                      is specified on the parameter list for  *
    *                      DFHWBCLI, the character set name        *
    *                      specified in WBCLI_CHARSET is ignored,  *
    *                      and the charset= parameter added to     *
    *                      the Content-Type header may contain     *
    *                      invalid characters.                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If the WBCLI_NATIVE_REQUEST_BODY flag is specified in the
    parameter list for DFHWBCLI, the character set name specified
    in WBCLI_CHARSET is ignored. These parameters are passed to
    the Web domain routine DFHWBCL, where WBCLI_NATIVE_REQUEST_BODY
    becomes TRANSLATE(NO) and WBCLI_CHARSET becomes CHARSET.
    But DFHWBCL ignores CHARSET if TRANSLATE(NO) is specified,
    and the local variable that is supposed to contain the
    character set name is not initialized. Later, when the
    Content-Type header is constructed, the uninitialized local
    variable is used to set the operand of the charset keyword,
    which causes invalid characters to be added to the header.
    

Problem conclusion

  • DFHWBCL has been modified to handle the TRANSLATE(NO) parameter
    correctly. The local variable that contains the character set
    name is now initialized properly before its use.
    

Temporary fix

  • FIX AVAILABLE BY PTF ONLY
    

Comments

APAR Information

  • APAR number

    PK69034

  • Reported component name

    CICSTS V3 Z/OS

  • Reported component ID

    5655M1500

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-07-15

  • Closed date

    2008-09-30

  • Last modified date

    2008-11-04

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

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

    UK40239

Modules/Macros

  •    DESWBCL  DFHWBCL
    

Fix information

  • Fixed component name

    CICSTS V3 Z/OS

  • Fixed component ID

    5655M1500

Applicable component levels

  • R500 PSY UK40239

       UP08/10/03 P F810

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

Document Information

Modified date:
04 November 2008