IBM Support

PI73042: GENERATING LONG DDL OF A VIEW MAY RESULT IN: ERROR IN COMMON_TABLE_EXPRESSION

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Using GEN to generate very long DDL of a view may
    fail with:  Error in COMMON_TABLE_EXPRESSION:New value for
    sql_stmt_prep is too large in procedure.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool         *
    *                 for z/OS.                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: DB2 Admin Tool fails with: Error        *
    *                      in COMMON_TABLE_EXPRESSION              *
    *                      and ADB1847E / msgadb1847e.             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When using the DDL or GEN line command against a VIEW, DB2
    Admin Tool fails with an error:
    
    Error in COMMON_TABLE_EXPRESSION: New value for sql_stmt_prep is
     too large in procedure
    ADB1847E A parser error has occurred for the following view.
    GEN cannot complete the request
                Reason code = 8
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI73042

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-11-30

  • Closed date

    2017-05-17

  • Last modified date

    2017-06-02

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

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

    UI47326 UI47327

Modules/Macros

  •    ADB2PA
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB20 PSY UI47326

       UP17/05/19 P F705

  • RC10 PSY UI47327

       UP17/05/19 P F705

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":"SSCVQTD","label":"IBM Db2 Administration Tool for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
02 June 2017