A fix is available
APAR status
Closed as program error.
Error description
You are doing an EXEC CICS WEB-SEND and specfying a mediatype and chunking. You notice that the http headers that are built do not contain and content-type or charset header and it should. The problem is that the content-type header is only being added to the request when DFHWBCL is called and passed a body. When chunking is used the request body is passed as a CHUNK parameter and this bypasses the code which creates the content-type header. Additional Symptoms: kixrevrjl
Local fix
You can manually add the content-type header by issuing your own EXEC CICS WRITE HEADER command.
Problem summary
**************************************************************** * USERS AFFECTED: All CICS users. * **************************************************************** * PROBLEM DESCRIPTION: EXEC CICS WEB SEND CHUNKYES with * * MEDIATYPE supplied does not build a * * Content-Type header. * **************************************************************** * RECOMMENDATION: * **************************************************************** The write_request in DFHWBCL builds the Content-Type header as part of constructing the HTTP request for an EXEC CICS WEB SEND command. The code to build this header was being bypassed for chunked messages. It was checking for wbo_body_len being other than zero to indicate the presence of a message body but this length is always zero for chunked messages.
Problem conclusion
DFHWBCL write_request is changed to recognise the first chunk being sent for a chunked message when determining whether to construct a Content-Type header. The header is built in the HTTP request if the EXEC CICS WEB SEND command for the first chunk includes a MEDIATYPE and there has not been a previous EXEC CICS WEB WRITE HTTPHEADER request to supply the header.
Temporary fix
FIX AVAILABLE BY PTF ONLY
Comments
APAR Information
APAR number
PM22185
Reported component name
CICS TS Z/OS V4
Reported component ID
5655S9700
Reported release
600
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-09-09
Closed date
2010-10-29
Last modified date
2010-12-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UK61813
Modules/Macros
DESWBCL DFHWBCL
Fix information
Fixed component name
CICS TS Z/OS V4
Fixed component ID
5655S9700
Applicable component levels
R600 PSY UK61813
UP10/11/03 P F011
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":"4.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":"4.1","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
02 December 2010