IBM Support

IT19610: AUTOMAINT_GET_POLICY returns incorrect output

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • With this APAR applied, when there is no SELECT privilege on
    SYSTOOLS.POLICY the call to the stored procedures below
    
    SYSPROC.AUTOMAINT_GET_POLICY
    SYSPROC.AUTOMAINT_GET_POLICYFILE
    SYSPROC.AUTOMAINT_SET_POLICY
    SYSPROC.AUTOMAINT_SET_POLICYFILE
    
    will return SQL0551N like the example below:
    
    call sysproc.automaint_set_policyfile('AUTO_REORG','reorg.xml')
    SQL0551N  The statement failed because the authorization ID does
    not have the required authorization or privilege to perform the
    operation.  Authorization ID: "DB2INST1".  Operation: "UPDATE".
    Object: "SYSTOOLS.POLICY".  SQLSTATE=42501
    
    Without this fix, a misleading error or invalid output is
    returned.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply v11.1 Mod 2 Fix Pack 2 to the DB2 database server.     *
    ****************************************************************
    

Problem conclusion

  • Problem first fixed in v11.1 Mod 2 Fix Pack 2
    

Temporary fix

  • See LOCAL FIX.
    

Comments

APAR Information

  • APAR number

    IT19610

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-03-08

  • Closed date

    2017-06-23

  • Last modified date

    2017-06-23

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

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

    IT19707

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"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:
29 June 2020