IBM Support

PM41185: PANEL ADB2AO "STORED PROCEDURE AUTHORIZATIONS" SQLCODEN204 ON GRANT EXECUTE ON PROCEDURE WHEN FUNCTION LISTED

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The DB2 Administration Tool for z/OS Panel ADB2AO "Stored
    Procedure Authorizations" creates GRANT EXECUTE ON PROCEDURE
    syntax when a FUNCTION is the target of a GRANT command.
    The SQL fails with a SQLCODEN204:
    DSNT408I SQLCODE = -204, ERROR:  <schema>.<function> IS AN
    UNDEFINED NAME
    DSNT418I SQLSTATE   = 42704 SQLSTATE RETURN CODE
    DSNT415I SQLERRP    = DSNXA07 SQL PROCEDURE DETECTING ERROR
    DSNT416I SQLERRD    = -180  0  0  -1  0  0 SQL DIAGNOSTIC
    INFORMATION
    DSNT416I SQLERRD    = X'FFFFFF4C'  X'00000000'  X'00000000'
    X'FFFFFFFF'
             X'00000000'  X'00000000' SQL DIAGNOSTIC INFORMATION
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool for     *
    *                 z/OS who use the line command 'A' on panel   *
    *                 ADB2AUS 'User Authorizations Summary' for    *
    *                 function.                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: The DB2 Administration Tool for z/OS    *
    *                      panel ADB2AO "Stored Procedure          *
    *                      Authorizations" creates GRANT EXECUTE   *
    *                      ON PROCEDURE syntax when a FUNCTION     *
    *                      is the target of a GRANT command.  The  *
    *                      SQL fails with a SQLCODE=-204/          *
    *                      SQLCODEN204:                            *
    *                                                              *
    *                      DSNT408I SQLCODE = -204, ERROR:         *
    *                      schema.function IS AN UNDEFINED         *
    *                      NAME                                    *
    *                      DSNT418I SQLSTATE   = 42704             *
    *                      SQLSTATE RETURN CODE                    *
    *                      DSNT415I SQLERRP    = DSNXA07           *
    *                      SQL PROCEDURE DETECTING ERROR           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    GRANT command was generated on the STORED PROCEDURE instead of
    the FUNCTION on ADB2AO.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM41185

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    720

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-06-09

  • Closed date

    2011-06-27

  • Last modified date

    2011-07-05

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

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

    UK69185 UK69186

Modules/Macros

  •    ADB2AO
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA10 PSY UK69185

       UP11/06/30 P F106

  • R720 PSY UK69186

       UP11/06/30 P F106

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

Document Information

Modified date:
05 July 2011