|
Any idea if we can use dynamic variable names in RPGLE?
One way is in the FAQ. http://faq.midrange.com Search for the words (file variable) The entry is 'How can I refer to a file as a variable?' It uses SQL. It isn't perfect, in that you will need to know quite a bit about the fields you want to retrieve.
It seems to me that most people asking for this functionality are trying to use XML. I personally love RPG IV, but I believe there are better ways to use XML than to hand roll RPG code.
--buck
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.