* show index !
declare sel_ind cursor for
 select owner,tablename,indexname,type,
        columnname,sort
   from domain.INDEXCOLUMNS
  where owner not in ('SUT','SYS','DOMAIN',
                      'SYSCATALOG','SYSINFO','SYSDBM','SYSCCMS',
                      'SYSODBC','SYSJDBC','SYSSQLSTD','SYSDBANA')
   order by owner,tablename,indexname,columnno !
fetch sel_ind into :a,:b,:c,:d,:e,:f !
close sel_ind !