|
You can use variable names for a file's member as a solution. Use a fixed file name and then name the members anyway you want, using substring or whatever you happen to like. _______________________ Booth Martin Booth@MartinVT.com http://www.MartinVT.com _______________________ Buck Calabro <buck.calabro@aptissoftware.com> Sent by: owner-rpg400-l@midrange.com 10/13/2000 05:36 PM Please respond to RPG400-L To: rpg400-l@midrange.com cc: Subject: RE: Variable file name in rpg /or cl Chris wrote: >I need to have a cl program pass a >variable to either a rpg or cl program. > >This variable is the file name that >the program needs to read from. The answer could be SQL, OPNQRYF, OVRDBF or even CPYF! (I'll post some ReXX code to do this in the Midrange-L list) Now that you can read records from any file, what are you going to do with those records? This is an problem indeed! I think there have been discussions on this before; perhaps the archives at http://www.midrange.com would be helpful? Buck Calabro Aptis; Albany, NY "We are what we repeatedly do. Excellence, then, is not an act, but a habit." --Aristotle Billing Concepts Corp., a NASDAQ Listed Company, Symbol: BILL +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.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.