IBM Support

PM37814: XMLELEMENT KEYWORD ERRONEOUSLY PUT IN QUOTES E.G. "XMLELEMENT" RESULTING IN SQLCODE104

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In DB2 Object Comparison Tool, keyword XMLELEMENT is erroneously
    put in quotes "XMLELEMENT" resulting in SQLCODE = 104
    and difference found for || finding !! instead.
    .
    Additional Symptoms: sqlcode140 rc8
    

Local fix

  • Edit DDL.ALTER dataset and remove quotes surrounding
    XMLELEMENT
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Object Comparison Tool for  *
    *                 z/OS who compare Native Stored Procedures    *
    *                 ( NSP's ) with the XMLELEMENT function in    *
    *                 the NSP body.                                *
    ****************************************************************
    * PROBLEM DESCRIPTION: When NSP's are compared and the NSP     *
    *                      body refers to a XMLELEMENT function,   *
    *                      DB2 Object Compare quotes XMLELEMENT,   *
    *                      causing an erroneous syntax             *
    *                      SQLCODE= -104/SQLCODEN104:              *
    *                                                              *
    *                      DSNT408I SQLCODE = -104, ERROR:         *
    *                      ILLEGAL SYMBOL ""colname"".             *
    *                      SOME SYMBOLS THAT MIGHT BE              *
    *                      LEGAL ARE: CONCAT || / MICROSECONDS     *
    *                      MICROSECOND SECONDS                     *
    *                      SECOND MINUTES                          *
    *                      DSNT418I SQLSTATE   = 42601             *
    *                      SQLSTATE RETURN CODE                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When NSP's are compared and the NSP body refers to a XMLELEMENT
    function, DB2 Object Compare quotes XMLELEMENT, causing an
    erroneous syntax SQLCODE= -104/SQLCODEN104:
    
    DSNT408I SQLCODE = -104, ERROR:  ILLEGAL
    SYMBOL ""colname"". SOME SYMBOLS THAT
    MIGHT BE LEGAL ARE: CONCAT || / MICROSECONDS
    MICROSECOND SECONDS  SECOND MINUTES
    DSNT418I SQLSTATE   = 42601 SQLSTATE RETURN CODE
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM37814

  • Reported component name

    DB2 OBJECT COMP

  • Reported component ID

    5697G6400

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-04-26

  • Closed date

    2011-06-14

  • Last modified date

    2011-07-05

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

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

Modules/Macros

  •    ADB2CMR
    

Fix information

  • Fixed component name

    DB2 OBJECT COMP

  • Fixed component ID

    5697G6400

Applicable component levels

  • RA10 PSY UK68753

       UP11/06/17 P F106

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":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSAUVH","label":"IBM Db2 Object Comparison Tool for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.1.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
12 February 2021