× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: ILE RPG & List API's
  • From: "Roger Pence" <rp@xxxxxxxxxxxxxx>
  • Date: Tue, 14 Apr 1998 12:16:25 -0500

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 thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.