Connecting Tech Pros Worldwide Forums | Help | Site Map

No access to the SNAPDYN_SQL view

Damir
Guest
 
Posts: n/a
#1: Nov 14 '08
Hello,
when I try to access the SYSIBMADM.SNAPDYN_SQL view:

select * from SYSIBMADM.SNAPDYN_SQL where stmt_text like '%SKUP_PR%';

I get the SQL error:

(-1092)[IBM][CLI Driver][DB2/AIX64] SQL1092N "PPZ " does not have
the authority to perform the requested command.

even though "select" is granted to the public on the view
SYSIBMADM.SNAPDYN_SQL, and also
"execute" is granted to the public on the underlying function
SYSPROC.SNAP_GET_DYN_SQL_V91.

Apart from that, user in question ("PPZ") is granted the DBADMAUTH authority
on the database.

Why the error?

Regards,
Damir



Damir
Guest
 
Posts: n/a
#2: Nov 14 '08

re: No access to the SNAPDYN_SQL view



It requires the SYSMON authority?

Damir


Serge Rielau
Guest
 
Posts: n/a
#3: Nov 14 '08

re: No access to the SNAPDYN_SQL view


Damir wrote:
Quote:
It requires the SYSMON authority?
Yes I think so.



--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Closed Thread