You can determine whether the exit routine or DB2® is performing authorization checks.
Procedure
To determine whether the exit routine or
DB2 is performing authorization checks:
- Start audit trace class 1.
- Choose a DB2 table
on which to issue a SELECT statement and an authorization ID to perform
the SELECT. The authorization ID must not have the DB2 SELECT privilege or the external security
system SELECT privilege on the table.
- Use the authorization ID to issue a SELECT statement on
the table. The SELECT statement should fail.
- Format the trace data and examine the return code (QW0140RC)
in the IFCID 0140 trace record.
- QW0140RC = –1 indicates that DB2 performed
the authorization check and denied access.
- QW0140RC = 8 indicates that the external security system performed
the authorization check and denied access.