IBM Support

PI41449: XML TO DATA WITH ATTRIBUTES FAILS WITH RESP 16 (INVREQ) AND RESP2 3 (XML IS INCORRECT)

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DFHSC2LS is used to generate an XSDBIND file. The CCSID=1200
    option is used which causes all data in the XSDBIND file -
    including namespaces to be generated in UTF16.
    
    When you use the XML parse command without the attributes. When
    attributes are passed, the transform from XML to data fails
    with RESP 16 (INVREQ) and RESP2 3 (XML input is incorrect).
    
    
    
    Additional Symptom(s) Search Keyword(s): KIXREVBDB
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS users.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: EXEC CICS TRANSFORM XMLTODATA fails     *
    *                      with INVREQ RESP2=3 when the            *
    *                      XMLTRANSFORM uses CCSID=1200.           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    EXEC CICS TRANSFORM XMLTODATA is used to transform XML to
    application data. The XMLTRANSFORM referenced on this command
    has a CCSID of 1200 ( UTF16 ) and was created from an XML
    schema where namespaces have significance.
    The command fails with INVREQ RESP2=3.
    DFHPICC PERFORM_XML_PARSE encounters the first element in the
    XML. This element contains an attribute. As namespaces are
    significant for the XMLTRANSFORM, DFHPICC attempts to perform
    namespace validation. However, DFHPICC fails to check for a
    namespace length of 0 which indicates that this attribute does
    not have a namespace.
    DFHPICC does a namespace comparison using a length of 0 which
    actually ends up doing a random comparison of 256 characters
    which fails.
    This causes an error to be raised which results in an INVREQ
    being returned to the application.
    

Problem conclusion

  • DFHPICC PERFORM_XML_PARSE has been changed when dealing with
    XMLTRANSFORMs which use CCSID=1200. DFHPICC will now correctly
    handle the case where no namespace is defined for an element.
    

Temporary fix

  • FIX AVAILABLE BY PTF ONLY
    

Comments

APAR Information

  • APAR number

    PI41449

  • Reported component name

    CICS TS Z/OS V5

  • Reported component ID

    5655Y0400

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-05-20

  • Closed date

    2015-09-22

  • Last modified date

    2015-10-02

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

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

    UI31446

Modules/Macros

  • DFHPICC
    

Fix information

  • Fixed component name

    CICS TS Z/OS V5

  • Fixed component ID

    5655Y0400

Applicable component levels

  • R900 PSY UI31446

       UP15/10/01 P F509

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

Document Information

Modified date:
02 October 2015