|
One possibility is to use the heap now available in ILE RPG. You can ALLOC some structure with n occurrences. Later you can REALLOC this thing to m occurences, where m can be less or greater than the initial n. BTW: I am not a 'native RPG writer', my background is the Algol family of languages. And concerning language constructs, even C is some relative to this forefather. So I have not tested my proposal. HTH, ----------------------------------------------------------------- Dipl.-Ing. Rudolf Wiesmayr Tel: +43 - 0732 / 7070 - 1720 Magistrat Linz, ADV/AE Fax: +43 - 0732 / 7070 - 1555 Gruberstrasse 40-42 mailto://Rudolf.Wiesmayr@mag.linz.at A-4041 Linz IBMMAIL: at3vs7vs@ibmmail.com ------ http://www.linz.at <<<--- Digital City Linz, Austria ----- - City of Linz: awarded by 'Speyerer Qualitaetswettbewerb 1996' - -----Original Message----- From: Bob Luebbe [SMTP:bluebbe@conn2000.com] Sent: Wednesday, October 08, 1997 8:28 PM To: 'MIDRANGE-L@midrange.com' Subject: Multiple occurance data structures Is there a way to dynamically increase the size of a multiple occurance data structure in RPG IV?
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.