×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




If the OS is recent and can install the opensource tools, you can use the "updatedb and locate"
step one: updatedb --prunepaths="/QSYS.LIB /QOPT /QDLS"
step two: locate file.ext

if not able to load them
I like using RTVDIRINFO
then this SQL (adjust the file names as necessary)

SELECT Qaezd0001o.Qezalcsize
,SUBSTR(Qaezd0001o.Qezobjnam, 1, 40)
,Qaezd0001d.Qezdirnam1
FROM Dirinfo.Qaezd0001o
INNER JOIN Dirinfo.Qaezd0001d
ON Qaezd0001o.Qezdiridx = Qaezd0001d.Qezdiridx
WHERE UPPER(Qaezd0001o.Qezobjnam) LIKE '%FILE.EXT%'
ORDER BY Qaezd0001o.Qezalcsize DESC;

Bryan

James H. H. Lampert via MIDRANGE-L wrote on 8/6/2021 12:22 PM:
Is there an easy way, either from a system command line or a QShell command line, to find a STMF with a given name in the IFS (preferably in a subdirectory of the current directory)? Something analogous to WRKOBJ in the QSYS.LIB file system, or the "find" command in *nix?

--
JHHL
(And I've given up on the Twinax thing, and will pursue LAN Console when I have the time and energy to do so.)

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.