A fix is available
APAR status
Closed as program error.
Error description
WEB converter program does EXEC CICS WEB RECEIVE: exec cics web receive set (address of entity-body) length (entity-body-len) mediatype (media-type) bodycharset (body-charset) srvconvert end-exec . The web client has not included a Content-Type in the HTTP header. . Since SRVCONVERT has been specified on the web receive, CICS should convert the entity body assuming it was encoded with ISO-8859-1. This conversion is not occuring and ASCII data is being passed to the application. . Additional Keywords: KIXREVSCB
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All CICS users. * **************************************************************** * PROBLEM DESCRIPTION: EXEC CICS WEB RECEIVE with SRVCONVERT * * specified does not convert the entity * * body if there is no HTTP Content-Type * * header. * **************************************************************** * RECOMMENDATION: * **************************************************************** When SRVCONVERT is specified on an EXEC CICS WEB RECEIVE and the media type is not supplied on the command or in an HTTP Content-Type header, CICS should assume the entity body is text and use default values for data conversion, as documented in the CICS Application Programming Reference manual. The wrb_recv_text_body flag is used to determine whether data conversion is required. This flag is initialized to OFF, indicating a non-text entity body, and is set ON if media type information identifies the body as text. If there is no media type information wrb_recv_text_body remains OFF and data conversion is bypassed. Additional keyword: SERVERCONV
Problem conclusion
When initializing a WebRequestBlock, the wrb_recv_text_body flag is set ON and it is set OFF if the media type shows the entity body as being non-text. In the absence of media type information, the wrb_recv_text_body remains ON and CICS converts the data using default code page values.
Temporary fix
FIX AVAILABLE BY PTF ONLY
Comments
APAR Information
APAR number
PM22852
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-20
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:
UK61814
Modules/Macros
DESWBAP DESWBBLI DESWBDM DESWBRQ DESWBRQF DESWBSR DESWBXM DFHWBAP DFHWBAPF DFHWBBLI DFHWBDM DFHWBRQS DFHWBSR DFHWBXM
Fix information
Fixed component name
CICS TS Z/OS V4
Fixed component ID
5655S9700
Applicable component levels
R600 PSY UK61814
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