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



Agreed Alan - except that you could not define it within RPG as an array. So that has implications beyond the allocation of memory and sorting. e.g. Can’t access via a subscript.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Dec 30, 2014, at 5:53 PM, Alan Campin <alan0307d@xxxxxxxxx> wrote:

Unless I am highly mistaken, RPG can only address 16MB of storage but it is
so easy to circumvent that it really means nothing.

1. *TERASPACE the program.
2. Create a data structure based on a pointer.
3. Dynamically extend the array. (A new lines of code).
4. Use QSORT to sort it.
5. Read it back out via pointer.

It would be easy enough to make my XVSRTQ a teraspaced program instead of
using a user space for storage but as far as I know no one as every used my
Dynamic Sort API. Only issues I have seen there is mixing models.

On Tue, Dec 30, 2014 at 3:38 PM, Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:

Good point Scott. I’m fairly certain that the 16Mb still applies. I’ll do
some checking.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Dec 30, 2014, at 5:35 PM, Scott Klement <midrange-l@xxxxxxxxxxxxxxxx>
wrote:


Jon,

Is this true even if you use STGMDL(*TERASPACE)?

-SK


On 12/30/2014 4:28 PM, Jon Paris wrote:
Arrays are now only limited by the 16Mb single item storage limit (as
of V6). That also means that dynamic arrays can’t get you a bigger array
unless you use terraspace.

Size limit is 16Mb / %Size(arratElement) - no hard limit.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.