A fix is available
APAR status
Closed as program error.
Error description
User gets SQLCODE -551 from DSNXEAAL attempting to EXECUTE a PACKAGE. SQLERRD1 = -210. Also, userid reported in message contains a comma where it should not be.
Local fix
N/A
Problem summary
**************************************************************** * USERS AFFECTED: Db2 11 and 12 users of * * Autonomous stored procedures. * **************************************************************** * PROBLEM DESCRIPTION: SQLCODE -551 was received from * * DSNXEAAL while executing an * * autonomous stored procedure when * * Access Control Authorization * * exit (DSNX@XAC)is used for * * authorization and AUTHEXIT_CHECK * * zparm is set to DB2. * * * * SQLCODE -551 * * SQLERRP DSNXEAAL * * SQLERRD1 -210 * * * * This problem can also occur when * * Db2 native security is used for * * authorization. * **************************************************************** * RECOMMENDATION: Apply corrective PTF when available. * **************************************************************** When executing an autonomous stored procedure, the stored procedure owner id will be checked to ensure it has the EXECUTE privilege. If the stored procedure owner does not have the EXECUTE privilege, the plan owner executing the stored procedure will be checked. The plan owner id is saved in a Db2 control block field of the autonomous stored procedure. However, the code that sets the control block field was missing. Therefore an empty string was passed to the authorization check which resulted in the SQLCODE -551.
Problem conclusion
Db2 code has been added to set the plan owner id in the control block for the autonomous stored procedures. Additional Keywords: SQLCODE551, SQLNATIVESQLPL
Temporary fix
Comments
APAR Information
APAR number
PH10817
Reported component name
DB2 OS/390 & Z/
Reported component ID
5740XYR00
Reported release
B10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2019-04-09
Closed date
2019-06-05
Last modified date
2019-07-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI63441 UI63444
Modules/Macros
DSNXEAU2
Fix information
Fixed component name
DB2 OS/390 & Z/
Fixed component ID
5740XYR00
Applicable component levels
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":"SSEPEK","label":"Db2 for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"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":"11.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
01 July 2019