× 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 most reliable method should be to use DSPPGMREF against the PGM objects. There’s an article on it here: http://search400.techtarget.com/tip/Find-the-programs-that-use-a-particular-file-using-DSPPGMREF

Various tools have been written to use this as a base - if you have TAATOOLS on your system there is certainly one there.

This article - the second in a series of three shows how the output can be manipulated with SQL http://www.mcpressonline.com/system-administration/techtip-analyze-your-programs-and-applications-part-ii.html

Craig Rutledge has a utility that does source file scanning to achieve this http://www.jcrcmds.com/jcrdown2.html#JCRFSET_tag


That should keep you busy for a while!


On Mar 4, 2016, at 10:05 AM, Hoteltravelfundotcom <hoteltravelfun@xxxxxxxxx> wrote:

HI I am looking for a tool or code. I have to lookup often
where a file is in use in a program. I run Find string using option 25 on
say
QRPGLESRC and it prints a list.

I would like to have a program that will take a parameter of a file
name,read all the libraries in our system, do this '25' on them. Do I read
a file in QSYS to get this?

then I would need the command to do the option 25.

Thanks this would save me alot of time.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Jon Paris

www.partner400.com
www.SystemiDeveloper.com


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-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.