×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
The problem with this is that certain schemas contain source physical
files and they (and ALL of their members) are included in the results.
I want to exclude source physical files because they are not relevant to
the project.
Here is the way I normally determine source physical files:
SELECT DBXLIBLibrary
, DBXFILFile
, DBXOWNOwner
, DBXTXTDesc
, DBXATRAttrib
, DBXTYPType
FROMQSYS.QADBXREF
WHERE( ( substr( DBXLIB,1,1 ) not in ( '#' , 'Q' ) ) OR DBXLIB = 'QGPL' )
ANDDBXATR = 'PF'
ANDDBXTYP = 'S'
ORDER BY DBXLIB, DBXFIL
;
I believe that one needs *ALLOBJ authority to use QADBXREF.I would
prefer to use a view but I can't find one that uses DBXATR and DBXTYP or
their equivalents.
Does anyone know of a view suitable for this task?
Thanks in advance,
Robert
"Contrariwise, if it was so, it might be; and if it were so, it would
be; but as it isn't, it ain't. That's logic."--Tweedledee
As an Amazon Associate we earn from qualifying purchases.
This thread ...
Re: Need assistance with SQL statement over QSYS2.SYSTABLESTAT, (continued)
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.