Encounter SQL -551 error message for a Database Management Solution for Db2 for z/OS product plan:
DSNT408I SQLCODE = -551, ERROR: USERID DOES NOT HAVE THE PRIVILEGE TO PERFORM Product Planxxxx
DSNT418I SQLSTATE = 42501 SQLSTATE RETURN CODE
DSNT415I SQLERRP = DSNXEAAL SQL PROCEDURE DETECTING ERROR
How to execute the GRANTs for the equivalent plan for the user.
The SQLCODE -551 error is indicating that Db2 does not have the correct GRANTs to execute the plan for authid USERID.
In the Database Management for Db2 for z/OS main menu please note the following menu item:
General Facilities
_A Product Authorization
Grant Product Authorizations