IBM Support

PI65180: SQLCODE = -104 GENERATING DDL FOR SP REFERENCING XMLELEMENT

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When generating DDL for a native stored procedure containing
    XMLELEMENT, double-quotes are added to string XMLELEMENT,
    resulting in the following error:
    
    DSNT408I SQLCODE = -104, ERROR:  ILLEGAL SYMBOL ""XMLELEMENT"".
    

Local fix

  • N/A
    

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 an XMLELEMENT function,  *
    *                      a SQLCODE=-104 / SQLCODEN104 error      *
    *                      is observed.                            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When NSP's are compared and the NSP body refers to
    an XMLELEMENT function, DB2 Object Compare inserts
    quotes around the XMLELEMENT. causing an erroneous
    syntax error SQLCODE= -104 / SQLCODEN104:
    
    DSNT408I SQLCODE = -104,ERROR: ILLEGAL SYMBOL
    ""XMLELEMENT"". SOME SYMBOLS THAT MIGHT BE
    LEGAL ARE:XMLELEMENTXMLPI
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI65180

  • Reported component name

    DB2 OBJECT COMP

  • Reported component ID

    5697G6400

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-06-30

  • Closed date

    2017-04-27

  • Last modified date

    2017-05-01

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

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

    UI46779

Modules/Macros

  •    ADB2CMR  ADB2CM3
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB10 PSY UI46778

       UP17/04/29 P F704

  • RB20 PSY UI46779

       UP17/04/29 P F704

  • RC10 PSY UI46780

       UP17/04/29 P F704

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.

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1.0"}]

Document Information

Modified date:
18 March 2021