* show privileges granted to &1 on * !
declare sel_privs cursor for 
 select *
   from sysdd.granted_privileges
  where owner not in ('SUT','SYS','DOMAIN','SUPERDBA',
                      'SYSCATALOG','SYSINFO','SYSDBM','SYSCCMS',
                      'SYSODBC','SYSJDBC','SYSSQLSTD','SYSDBANA')
    and username = '&1' !
fetch sel_privs into :a, :b, :c, :d, :e, :f !
close sel_privs !