IBM Support

PH03397: DB2 ADMIN TOOL - SYNONYM ON VIEW IS IMPLICITLY DROPPED BUT NOT RECREATED AFTER VIEW IS RECREATED

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • From panel 'GOC5', with option:
    'Allow implicit drop of excluded objects . . . . YES'
    
    There are no synonyms on source DDL. Only target exclude spec
    with synonyms was specified, i.e. SY <synname> * `
    
    When table is dropped/recreated, synonym on table is also
    implicitly dropped and recreated after table is recreated.
    Message ADB7132W is issued as expected and view has 'no
    changes', synonym on view is implicitly dropped but not
    recreated after view is recreated.
    
    Compare table source() and target()
    Table will be dropped
    Table will be recreated
    
    ..
    
    ADB7132W Synonym is specified in target exclude specification.
             This object is excluded.
    Synonym (for table) will be dropped by dropping the table
    Synonym (for table) will be recreated
    
    Compare View source() and target()
    
    No changes to view
    
    
    ADB7132W View Synonym (for view) is specified in target exclude
             specification. This object is excluded.
    
    View will be recreated because it is dependent on an object that
    has been dropped
    
    Note -: View synonym is not recreated.
    
    Also, summary and counts reports for synonyms are wrong
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Object Comparison Tool          *
    *                 for z/OS.                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: 1- When no changes to view and view     *
    *                      synonym is specified on target exclude  *
    *                      specification and exists only on        *
    *                      target, view synonym is implicitly      *
    *                      dropped but not recreated after view    *
    *                      is recreated.  Also, view synonym       *
    *                      change statements are missing           *
    *                      in changes file.                        *
    *                                                              *
    *                      2- Object 'Compare Summary' and         *
    *                      'Count Report' of Synonyms aren't       *
    *                      correct.                                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    1- Comparing views with synonyms and specify exclude
    specification for view synonyms on target, results in:
    
    - Views are compared and 'no changes' to view.
      View synonym is implicitly dropped because view is
      dropped/recreated due to its base table being
      dropped/recreated.
      View synonym should have been recreated since user
      specified YES for option 'Allow implicit drop of
      excluded objects' on panel GOC5 - 'Generate Compare
      Jobs'.
    - missing of view synonym change statement in changes
      file.
    
    2- Object Compare 'Summary Report' Result column and
    'Count Report' of Synonyms are not correct.
    

Problem conclusion

  • Problems have been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH03397

  • Reported component name

    DB2 OBJECT COMP

  • Reported component ID

    5697G6400

  • Reported release

    B20

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-10-01

  • Closed date

    2019-02-06

  • Last modified date

    2019-03-01

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

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

Modules/Macros

  •    ADB2CME  ADB2CMP  ADB2CM3
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB20 PSY UI61182

       UP19/02/08 P F902

  • RC10 PSY UI61183

       UP19/02/08 P F902

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.2.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
01 March 2019