|
On 3/4/2016 10:05 AM, Hoteltravelfundotcom wrote:
HI I am looking for a tool or code. I have to lookup oftenread
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
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.
Here is one suggestion.
1) CLP FNDSTRSYS which will find all libraries: DSPOBJD qsys/*all *lib
output(*outfile) outfile(qtemp/libs)
2) CLP LIBS that will DCLF, RCVF and filter (you don't really want to
look in IBM libraries, do you?) and once you have a library you want to
process, call CLP SRCFS
3) CLP SRCFS which will DSPOBJD &lib/*all *file output(*outfile)
outfile(qtemp/files). DCLF, RCVF and process the files one by one. If
it turns out that you really only need files named Q*, then use Q* in
your DSPOBJD to save time. Once you have a file you want to process,
use FNDSTRPDM to search it.
Personally, I use RDi and the iSphere plug-in.
--
--buck
Visit wiki.midrange.com and register for an account. Edit a page that
helps you, and because it's public, you'll help someone else, too!
--
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.
As an Amazon Associate we earn from qualifying purchases.
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.