Findstring For As/400: by Atom Kumar Padhy
Findstring For As/400: by Atom Kumar Padhy
By
Atom Kumar Padhy
Table of Contents
1. Introduction..................................................................................................................... 3
2. Program High Level Logic ............................................................................................. 4
3. Program Functioning ...................................................................................................... 5
2
1. Introduction
3
2. Program High Level Logic
1. The tool uses a series of native FNDSTRPDM command to scan for all the input
strings on all the source files specified.
2. The output spooled file from FNDSTRPDM is refined and copied to a database
file for future reference and querying purposes.
4
3. Program Functioning
Command FINDSTRING launches the Find String Utility’s first screen as shown below.
You enter the list of search strings here on this screen and hit F10. Then You get the
second panel where you enter the list of source files whose members are scanned for the
given strings.
5
On Hitting F10 next You see the prompt where you enter you choice to run the search in
batch or interactive mode.
The program runs a series of FNDSTRPDM commands and then refines and stores the
output in a database file in QTEMP. The output file is then queried upon and displayed
on the screen.
6
Before navigating out of the results screen, it prompts you for you choice if you want oto
save the results.
If you choose to, then it saves the search results in your library in the database file named
FNDSTROP.
If you want to save the input search parameters (you would need this if you have keyed in
a huge list of strings or source files), you should run the program in batch mode when
prompted. This saves the input parameters in your library and next time when you run the
command, they appear in the input screens.