IBM Support

PI76367: 3.2 UNNECESSARY 'SET CURRENT SCHEMA' STATEMENT IS GENERATED IN DDL STEP

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If 'Use SQLID for DDL' value is specified, DDL generated by ARY
    may include unnecessary 'SET CURRENT SCHEMA' statements. Schema
    value is old SQLID of the object (or GRANTOR for
    authorizations).
    For some objects SQLID and SCHEMA may be different (e.g. table
    creator and table owner), but many objects (e.g. database)
    actually doesn't have information about the creation SCHEMA.
    'SET CURRENT SCHEMA' for such objects is unnecessary (although
    it should not fail or cause any future errors).
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of IBM DB2 Recovery Expert z/OS.       *
    ****************************************************************
    * PROBLEM DESCRIPTION: If 'Use SQLID for DDL' value is         *
    *                      specified, DDL generated by ARY may     *
    *                      include unnecessary 'SET CURRENT        *
    *                      SCHEMA' statements. Schema value is     *
    *                      old SQLID of the object (or GRANTOR for *
    *                      authorizations). For some objects SQLID *
    *                      and SCHEMA may be different (e.g. table *
    *                      creator and table owner), but many      *
    *                      objects (e.g. database) actually        *
    *                      doesn't have information about the      *
    *                      creation SCHEMA. 'SET CURRENT SCHEMA'   *
    *                      for such objects is unnecessary         *
    *                      (although it should not fail or cause   *
    *                      any future errors).                     *
    ****************************************************************
    * RECOMMENDATION: APPLY the PTF.                               *
    ****************************************************************
    Code has been changed to correct this condition.
    

Problem conclusion

  • APPLY the PTF.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI76367

  • Reported component name

    DB2 REC EXPERT

  • Reported component ID

    5697H7400

  • Reported release

    320

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-02-09

  • Closed date

    2017-03-03

  • Last modified date

    2017-04-04

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

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

    UI45278

Modules/Macros

  •    ARYCD002
    

Fix information

  • Fixed component name

    DB2 REC EXPERT

  • Fixed component ID

    5697H7400

Applicable component levels

  • R320 PSY UI45278

       UP17/03/15 P F703

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":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQTW","label":"Db2 Recovery Expert"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"3.2.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
04 April 2017