|
Peter wrote: >Guys: > >I have to look for this parameters on every single CGI source I have in a >specific folder. I do have an RPG program reading the directory links of >that >folder without problems. Having that address link, the question is: How >can I >"search" for these "CONSTANTS" on a specific CGI source but without >creating a >temporary work file on the AS400? I think that I would be able to solve my >problem by doing just what I have said before but I have received >specifications >to explore the possibility of not creating a file and do this within the >program. > >I appreciate your advices as always. Peter: Does this have to be done using RPG? If you're willing to consider something other than RPG, look at the "grep" command. You can specify a regular expression as a search argument and search through all files in your folder. (Invoking a single command to perform your search is probably a bit easier than writing a specific program.) Cheers! Hans Hans Boldt, ILE RPG Development, IBM Toronto Lab, boldt@ca.ibm.com
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.