A fix is available
APAR status
Closed as program error.
Error description
In a KSDS file is read via an atom feed and a key is supplied which contains a trailing space, the Web 2.0 code is failing to unescape the space so the file READ incorrectly fails and results in a response of http 400 Invalid request.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All CICS Users * **************************************************************** * PROBLEM DESCRIPTION: A KSDS VSAM file is being accessed as * * a CICS Atom feed, and one or more of * * the file's keys contains a space * * character. CICS gives an HTTP 400 * * response, and the feed data is not * * returned. * **************************************************************** * RECOMMENDATION: * **************************************************************** When CICS is constructing URIs to be contained in the href attributes within atom:link elements in the feed, it uses the KSDS file key value as a "selector" to qualify the URI. If the selector contains spaces, these are not correctly escaped to percent-encoded values when contructing the link URI. Therefore, when the URI is being converted to XML prior to insertion in the feed response document, it is discovered to be invalid, and the error is signalled by an HTTP 400 response.
Problem conclusion
CICS has been changed to correctly escape any non-URI characters (including spaces) contained within the selector values returned by the Atom service routine, using percent encoding. Furthermore, when percent-encoded URIs are converted to XML for insertion into the Atom response documents, the percent-encoded spaces are not decoded back into regular spaces, and remain as percent-encoded values.
Temporary fix
FIX AVAILABLE BY PTF ONLY
Comments
APAR Information
APAR number
PK95274
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
2009-09-02
Closed date
2009-09-22
Last modified date
2009-11-04
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
DESWBUX DESW2FD DFHWBUX DFHWBUXA DFHWBUXM DFHWBUXT DFHW2AC DFHW2FD DFHW2TT DFHW2W2
Fix information
Fixed component name
CICS TS Z/OS V4
Fixed component ID
5655S9700
Applicable component levels
R600 PSY UK50385
UP09/10/02 P F910
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:
04 November 2009