title: Enumerating objects in all libraries inside QSYS.LIB
body: <p>There is pretty much exhaustive info about tables (<code>PF</code> including <code>PF-SRC</code>,<code>LF</code> etc) resides in <code>QSYS2.SYSTABLES</code>.</p>
  
  <p>However when it comes to enumerating all objects (e.g. including <code>PGM</code>, <code>SRVPGM</code>,<code>DTAQ</code>,<code>DTAARA</code> and so on) in certain library do the single source of info exists?</p>
  
  <p>I wonder is it possible to query such info without <code>*ALLOBJ</code> privellege granted if there's only need to find out file name and type?</p>
  
  <p>Right now the only thing that comes to mind is to rely on <code>SYSTABLES</code> and enumerate all objects related to <code>PF</code> + <code>LF</code>. Then identify the source these objects was compiled from (if any) and pray that the rest objects was also compiled from these source.</p>
  
  <p>However, this won't help if there was source, say, <code>PGM</code>-only.</p>
  
  <p>Any ideas?</p>