Troubleshooting
Problem
WDI for z/OS CICS on-line transaction EDIA encounters DB2 SQLCODE = -922. Full Message as displayed to CICS user and as reported in CICS joblog: DSNT408I SQLCODE = -922, ERROR: AUTHORIZATION FAILURE: PLAN ACCESS ERROR. REASON 00F30034 DSNT418I SQLSTATE = 42505 SQLSTATE RETURN CODE DSNT415I SQLERRP = DSNAET03 SQL PROCEDURE DETECTING ERROR.
Cause
The CICS user lacks the needed DB2 plan authority.
Resolving The Problem
According to DB2 documentation, reason = 00F30034 is a plan access error, e.g. the user does not have authority to execute the plan. The CICS RCT entry for EDIA specifies the DB2 plan name. The default name is DIENU32C. Grant execute authority for the plan to the user via SPUFI command:
GRANT EXECUTE ON PLAN DIENU32C TO userid;
Was this topic helpful?
Document Information
Modified date:
01 August 2018
UID
swg21207204