|
Nigel--- A year or so ago (hmmm, maybe longer, time flies!), Julian Monypenny provided some very good user space routines in a couple of NEWS/400 articles. It was very good stuff, although I am pretty sure it hasn't been converted to RPG IV (it was RPG/400). rp -----Original Message----- From: nigel.percy@pocruises.com <nigel.percy@pocruises.com> To: midrange-l@midrange.com <midrange-l@midrange.com> Date: Tuesday, April 14, 1998 11:19 AM Subject: ILE RPG & List API's Hi All, Could someone give me some advice regarding using ILE RPG and list API's via user spaces. As you know you can manipulate data in user spaces via pointers in ILE RPG. If I going to be retrieving data via an API into a user space and I have no idea how much data is going to be returned, what do I set the Data Structure/Array Size to? If I set it 'Really Big' this will obviously have a negative impact on the amount of storage that the pgm uses. You can't use dynamic allocation because I don't know how items are going to be returned via the API. The pointer method seems to be at a disadvantage when compared with using the QUSRTVUS and incrementing the offset Please someone tell me I got it wrong and that the pointer method is the way to go. Nigel Percy _______________________________________________________________ Please note that the e-mail address for P&O Cruises has changed to @pocruises.com +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To unsubscribe from this list send email to MIDRANGE-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.