IBM Support

PH33058: DB2 ADMIN TOOL GEN: MISHANDLING GRANT UNLOAD AUTHORIZATION FOR TABLES

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The GRANT UNLOAD privilege was introduced in Db2 v12 FL100. It
    can be issued successfully in FL100, but is not actually used
    until FL500. However, GEN does not produce the GRANT UNLOAD
    statement when the target FL is 100.
    
    Further, if the target db2 version is less than 12, and UNLOAD
    was the only privilege granted GEN will produce an invalid GRANT
    statement.
    
    In both cases, the following may be generated:
    
    GRANT ON TABLE schema.tablename TO userid;
    
    The UNLOAD parameter is missing.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the Db2 Administration Tool for     *
    *                 z/OS Reverse Engineering (GEN) function.     *
    *                                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: GEN does not generate the GRANT UNLOAD  *
    *                      privilege for Db2 12 function level     *
    *                      100 (V12R1M100).                        *
    ****************************************************************
    This APAR addresses the following issues regarding the GRANT
    UNLOAD table privilege:
    
    1. GEN does not generate the GRANT UNLOAD privilege for Db2 12
       function level 100 (V12R1M100).
    
    2. If the UNLOAD privilege is the only applicable privilege, and
       the target Db2 version is lower than 12, an invalid GRANT
       statement is produced.
    
    Example:
    GRANT ON TABLE T1.TABLE01 TO userid;
    
    3. On panel ADB2GENB, the "Current Db2 FL" value is not used
       by GEN if the "Target Function Level" field is not populated.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH33058

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-01-05

  • Closed date

    2021-04-26

  • Last modified date

    2021-05-03

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

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

    UI75084

Modules/Macros

  • ADB2GENB ADB2REG
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI75084

       UP21/04/28 P F104

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.

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1.0"}]

Document Information

Modified date:
04 May 2021