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



Kind of.
The advantage of limiting it to a 16MB user space is the user space can be
created at the anticipated 2 MB size, and if the auto-extend attribute is turned
it, it'll automatically extend/grow on those occasions when more than 2MB is
needed.

-Bob Cozzi
www.i5PodCast.com
Ask your manager to watch i5 TV



-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On
Behalf Of Chris Pando
Sent: Tuesday, February 06, 2007 3:17 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: RPGLE Max Field length issue.....

On 2/6/07, Richter,Steve <Steve.Richter@xxxxxxxxxxxxxxx> wrote:
you can alloc upto 16meg of contiguous space in RPG and use a pointer based
character field to step thru the 2mb xml string. For scanning the string you can
use a combination of the C runtime scan functions and your own ile procedures.

-Steve

If 16M isn't enough, you can use the memory management routines in the
C run-time library to allocate gigabytes of contiguous storage in the heap;
the pointer based stuff works exactly the same for both User Spaces and
heap storage.

Chris
--
chris@xxxxxxxxx           | Sunlight bright upon my pillow
www.pando.org             | Lighter than an eiderdown
                          | Will she let the weeping willow
                          | Wind his branches round

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.