IBM Support

PI94748: DB2 ADMIN TOOL - ALTER OF UDF GENERATES WRONG DDL AND DROPS COMMENT

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Changing the name of a UDF parameter using the function "ALT"
    generated wrong DDL by changing some UDF parms and the COMMENT
    on the UDF is missing after execution of the generated job.
    
    The following differences between the original UDF and the UDF
    be generated by Job:
    1. The comment is missing
    2. NO FINAL CALL instead of FINAL CALL
    3. PARAMETER VARCHAR NULTERM instead of PARAMETER VARCHAR
       STRUCTURE
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool for     *
    *                 z/OS.                                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: ALT on a user defined function (UDF)    *
    *                      does not preserve its comments and      *
    *                      generates wrong DDL.                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When attempting to alter an external scalar user defined
    function (UDF) using ALT command, that results in DROP and
    CREATE of the function, its COMMENT is not recreated and
    values for clauses PARAMETER VARCHAR and FINAL CALL are
    generated incorrectly.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI94748

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-03-07

  • Closed date

    2018-06-15

  • Last modified date

    2018-07-02

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

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

    UI56609 UI56610

Modules/Macros

  •    ADBP7F   ADB26CFR ADB26CFU ADB26COU
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB20 PSY UI56609

       UP18/06/19 P F806

  • RC10 PSY UI56610

       UP18/06/19 P F806

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":"12.1.0"}]

Document Information

Modified date:
30 March 2021