title: Cannot query some objects on a schemna
body: <p>I have access to some schema in different database and as part of some migration work, I am comparing 2 schema.
  I am using <code>Syscat</code> to compare the 2 schema. However in one of the schema, I get an error saying</p>
  
  <blockquote>
    <p>"user does not have select privilege on "</p>
  </blockquote>
  
  <p>I would like to know , how can I see what and all access permissions have been set up in a particular schema (basically all users who have access and the type of access for a gievn schema). The database is db2. 
  Please note that I am not using any tool like schema crawler etc. Instead I am writing a JDBC application which uses the <code>Syscat</code> to query the details like <code>select * from syscat.tables where tabSchema = &lt;schemaName&gt;</code></p>
  
  <p>Using a tool etc is a long process in terms to getting approval , justification etc (and I personally think that JDBC program should be good to start with the analysis).</p>