IBM Support

IT35069: SELECT-STATEMENT INCORRECTLY RETURNS SQL20264N DURING EXECUTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as unreproducible.

Error description

  • A select-statement may incorrectly return SQLCODE -20264,
    SQLSTATE 42512 indicating the user does not have WRITE access to
    the specified table.  This happens when the user lacks WRITE
    access on one or more LBAC protected columns, and the
    select-statement is deletable or updatable (either implicitly or
    explicitly).
    

Local fix

  • Add a FOR READ ONLY clause to the select-statement
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * LBAC users                                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to latest fix pack                                   *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT35069

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED UR5

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-11-25

  • Closed date

    2021-11-23

  • Last modified date

    2021-11-23

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

    IT14967

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

Fix information

Applicable component levels

  • RB10 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
04 May 2022