×
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.
Not really. A user space can be used however you desire. Think of it as a white board that is erased between uses. No two uses need be the same. No persistency
You can use pointer arithmetic in RPG. You can obtain a pointer to the space and use it to step through the space's contents with RPG and do whatever magic it is you are going to do. If you prefer to use C functions rather than RPG that is your choice.
It's very easy to reset a space to null when you have the pointer to it. Just set the pointer to null.
Gary
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of David Gibbs
Sent: Wednesday, November 30, 2011 9:46 AM
To: RPG programming on the IBM i / System i
Subject: Re: Dealing with very large blocks of character data
On 11/30/2011 11:37 AM, Monnier, Gary wrote:
Can you use a user space? That gives you 16 Mb.
I will still need to use C api's to manipulate the contents.
The only reason to use a user space is if I need the contents to be persistent which, in this case, is not necessary.
david
--
IBM i on Power - For when you can't afford to be out of business
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.