IBM Support

PM90156: ACCESS GETS SQL ERROR -551 WHEN BROWSING SQL VIEW

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Optim/z ACCESS gets SQL error -551 when browsing an SQL view.
    Extracting DB2 tables including the DB2 objects may fail with
    -551 on SYSIBM.SYSVIEWS, SYSIBM.SYSROUTINES or SYSIBM.TRIGGERS.
    

Local fix

  • 'GRANT' access to SYSIBM.SYSVIEWS.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Optim/z DB2 V10 users without access to 'SYSIBM.SYSVIEWS',   *
    * 'SYSIBM.SYSROUTINES' or 'SYSIBM.TRIGGERS' tables             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Optim/z 'ACCESS' gets SQL error -551 when browsing an SQL    *
    * view.  Extracting DB2 tables including the DB2 objects may   *
    * fail with -551 on 'SYSIBM.SYSVIEWS', 'SYSIBM.SYSROUTINES' or *
    * 'SYSIBM.TRIGGERS'.                                           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply the provided fix.                                      *
    ****************************************************************
    Optim/z uses dynamic SQL for some functions when processing on a
    DB2 V10 New Function Mode subsystem.  If the user is not
    authorized to access the 'SYSIBM.SYSVIEWS', 'SYSIBM.SYSROUTINES'
    or 'SYSIBM.TRIGGERS' the request will fail.
    

Problem conclusion

  • The dynamic SQL has been converted to static SQL.
    This fix changes the product DBRM.  A 'REBIND' of Optim DB2 V9
    and V10 packages is required after application of the PTF. For
    releases prior to V10 one only needs to rebind the plans, V10
    requires the packages to be rebuilt and rebound because a new
    V10 specific DBRM has been added.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM90156

  • Reported component name

    OPTIM MOVE FOR

  • Reported component ID

    5655V0700

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-05-30

  • Closed date

    2013-07-16

  • Last modified date

    2013-08-02

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

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

    PM94964

Modules/Macros

  • FOPD2VA5 FOPCFPMN FOPMAIN  FOPMARCN FOPMDDDL FOPD2VNN FOPCDBRL
    FOPZMAIN FOP0PIMN FOPINS0  FOPD2V91 FOPQDB2  FOPHSTM  FOPD2V85
    FOPOMN   FOP9APIM FOPMDXTR FOPMCMAI FOPMMUNU FOPD2V81 FOPK05
    

Fix information

  • Fixed component name

    OPTIM MOVE FOR

  • Fixed component ID

    5655V0700

Applicable component levels

  • R710 PSY UK95895

       UP13/07/18 P F307

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":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
02 August 2013