When receiving the -551 SQL Code on the "AUDIT Message File" after attempting to query or explain an SQL statement via the "SQL Ease Main menu", EXEC option (5), this error can be corrected by GRANTing SELECT authority on the DB2 Table that the SQL Ease User is working with.
When receiving the -551 SQL Code on the "AUDIT Message File" after attempting to create an explain Table, via the "SQL Ease Main menu", "Create Explain Table(s)" option (10), this error usually occurs when the SQL Ease User doesn't have update authority to the "Database" entry on the "SQL-EASE Explain Table(s) Creation" display. The default value for this database is DSNDB04. This error can be corrected by either:
- Granting the SQL Ease User authority to create tables in database DSNDB04.
- Or, changing the DFLT_DB entry in the <highlvl>.CDBAPARM PPA member from DSNDB04 to a database that the SQL Ease User has authority to update.