|
%SCAN will work like the FIND or F for a single line. You'll need to read each line and %SCAN the line for the text til you either find the text or reach the end of the file. Regards, Jim Langston -----Original Message----- From: Peter_Vidal@pall.com [mailto:Peter_Vidal@pall.com] Sent: Tuesday, April 02, 2002 12:09 PM To: rpg400-l@midrange.com Subject: Re: Search for SELECT / FROM parameters in a CGI source from RPG I am doing ( open(), read(), close() ), but how I can retrieve that content? Interactively, I can use EDTF and on the CONTROL line I can use either "F" or "FIND" to find a string or constant. That is the kind of results I want to programmatically have in my program. How I do that?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.