|
Hi David, yes you are right, this seems for nor now the one and only possibillity to deal with a runtime KLIST! I was also thinking about this solution, but because of the crowd of CHAINs I had to do I thought this will be a totaly performance-killer:-) I thank you for your solution! greetings...... Frank David Morris wrote: > Frank, > > Sounds like you might want to consider dynamic SQL. > > David Morris > > >>> fstone@wtal.de 12/04/99 01:12AM >>> > Hallo, > > as V4.4 offers more and more possibillities I would like to know if > there is any trick to handle different KLISTs in an RPG-Program. I had > the following problem: > > I wanted to use file file_x1 and file_x2 within the same program. > KLIST of x1 consists of field_a and field_b while x2 consists only of > field_b. > > What I wanted to do is to define field_a and field_b as pointers where > in case of file_x2 field_a points to NULL. But this doesn't work. > Perhaps someone outhere can gimme a hint. > Thanx in advance... > > Frank > > +--- > | 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-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.