Behavior of EXPLAIN STMTCACHE with the access control authorization routine
The behavior of EXPLAIN STMTCACHE changes because in some instances the primary authorization ID replaces the statement authorization ID.
Dynamic statements are cached by using the primary authorization
ID that runs the plan or package regardless of the DYNAMICRULES value.
Therefore, if the access control authorization routine is used for
security, the EXPLAIN STMTCACHE statement must be issued with the
same primary authorization ID as that for inserting the dynamic statements
into the cache.