IBM Support

PM75992: SERVER ZOS - STORE EBCDIC-XML-US IF XMLEBCDIC(Y)

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If a z/OS PERFORM TRANSFORM occurs with XMLEBCDIC(Y)
    and the XML input file prolog contains encoding="UTF-8",
    this works correctly. But if a retranslation is attempted
    using INTYPE(ST) (meaning the input data is retrieved
    from the document store), then the following error occurs:
    Message: UP0001 Severity: 08
      A fatal error occurred during parsing of XML document
      XMLinput at line 1, column 1.
      Message text from parser is An exception occurred!
      Type:UTFDataFormatException, Message:invalid byte  nt
      (x) of a -byte sequence
    

Local fix

Problem summary

  • If a z/OS PERFORM TRANSFORM occurs with XMLEBCDIC(Y)
    and the XML input file prolog contains encoding="UTF-8",
    this works correctly. But if a retranslation is attempted
    using INTYPE(ST) (meaning the input data is retrieved
    from the document store), then the following error occurs:
    Message: UP0001 Severity: 08
    A fatal error occurred during parsing of XML document
    XMLinput at line 1, column 1.
    Message text from parser is An exception occurred!
    Type:UTFDataFormatException, Message:invalid byte
    (x) of a -byte sequence.
    

Problem conclusion

  • This error occurs because when the original translation
    occurs, DB2 table EDIDSDOC column CHARENCODING contains
    "UTF-8", even though XMLEBCDIC(Y) was specified on the
    PERFORM command. UTF-8 is then used as the source encoding
    during the retranslation attempt.
    The code will be changed to store "ebcdic-xml-us" if
    XMLEBCDIC(Y) is used during an XML translation in z/OS
    batch. It will then be ebcdic-xml-us that is used as the
    source encoding when retranslated with INTYPE(ST).
    

Temporary fix

Comments

  • This only applies to z/OS batch.
    

APAR Information

  • APAR number

    PM75992

  • Reported component name

    WEBS DI ZOS

  • Reported component ID

    5655I4003

  • Reported release

    330

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-10-26

  • Closed date

    2012-10-26

  • Last modified date

    2013-03-04

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

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

    UK83059

Modules/Macros

  • CPP      EDIUPXML
    

Fix information

  • Fixed component name

    WEBS DI ZOS

  • Fixed component ID

    5655I4003

Applicable component levels

  • R330 PSY UK83059

       UP13/02/26 P F302

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":"BU048","label":"IBM Software"},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"3.3","Edition":"","Line of Business":{"code":"","label":""}},{"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.3","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
22 August 2022