IBM Support

PK20535: SQLCODE104 WHEN RESTORING LARGE VIEWS

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When restoring views with large amounts of text, IBM DB2 Object
    Restore may produce erroneous VIEW DDL.  The generated DDL is
    missing
    the first table column in the view definition text.  This
    happens on
    both V7 and V8 of DB2. Attempting to run the DDL will generate a
    SQLCODE104.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Object Restore.                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: When restoring views with large amounts *
    *                      of text, IBM DB2 Object Restore may     *
    *                      produce erroneous VIEW DDL.  The        *
    *                      generated DDL is missing the first      *
    *                      table column in the view definition     *
    *                      text.  This happens on both V7 and V8   *
    *                      of DB2. Attempting to run the DDL will  *
    *                      generate a SQLCODE104.                  *
    ****************************************************************
    * RECOMMENDATION: APPLY the PTF.                               *
    ****************************************************************
    Code has been changed to correct this condition.
    

Problem conclusion

  • APPLY the PTF.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK20535

  • Reported component name

    DB2 OBJECT REST

  • Reported component ID

    5655E7201

  • Reported release

    210

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2006-02-27

  • Closed date

    2006-06-29

  • Last modified date

    2006-08-02

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

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

Modules/Macros

  •    AUO07
    

Fix information

  • Fixed component name

    DB2 OBJECT REST

  • Fixed component ID

    5655E7201

Applicable component levels

  • R210 PSY UK15885

       UP06/07/17 P F607

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

Document Information

Modified date:
12 April 2021