Link to home
Start Free TrialLog in
Avatar of cosmit
cosmit

asked on

AS400 scan all files / libraries for string

In preparation for a softare upgrade, I need to search all files / libraries on my AS400 for a certain string.  This string could be contained in CL and / or RPG programs.  I used STRPDM  to scan and I got some results however, I could not scan the entire AS/400 as I need to (unless I am using the utility incorrectly?!)  I had to qualify a file and library before it could scan.  What is the best way to determine every instance where this string is found?
Avatar of dude02
dude02
Flag of United States of America image

This is a great website that I keep on hand just in case I have to find something on my iSeries.

http://krypton.mnsu.edu/~j3gum/web/as400/intref.html

I hope this helps.
Avatar of cosmit
cosmit

ASKER

Thanks for the great reference material dude02.  Unfortunately, it did not help my current situation.  It is great material though.
You can use FNDSTRPDM command to search out strings.

I hope this helps.
Avatar of cosmit

ASKER

I tried the FNDSTRPDM command but it requires you to specify a file and a library list.  I want to search ALL files in ALL libraries so this won't do the trick.

Any other suggestions?
ASKER CERTIFIED SOLUTION
Avatar of Gary Patterson, CISSP
Gary Patterson, CISSP
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cosmit

ASKER

Once again you came through -- Thanks!!!