|
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?
dmosley@dancik.co
m To: rpg400-l@midrange.com
Sent by: cc:
rpg400-l-admin@mi Subject: Re: Search for SELECT
/ FROM
drange.com parameters in a CGI source from RPG
04/02/2002 03:09
PM
Please respond to
rpg400-l
One idea, could be to retrieve the contents of each file( open(), read(),
close() ), and to a %SCAN on it.
This may not work with EXTREMELY large fields..
David L. Mosley, Jr.
Systems Analyst
2000 CentreGreen Way
Suite 250
Cary, NC 27513
Peter_Vidal@pall.
com To: rpg400-l@midrange.com,
rpgiv@yahoogroups.com, rpgiv@egroups.com
Sent by: cc:
rpg400-l-admin@mi Subject: Search for SELECT /
FROM parameters in a CGI source from RPG
drange.com
04/02/02 02:48 PM
Please respond to
rpg400-l
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.
Thanks.
Peter Vidal
Pall Aeropower Corp.
Senior Programmer Analyst
_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
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.