|
David,
I have two questions before I post a suggestion ...
First, why do you say you are "not supper[sic] happy with the idea
of having to deal with this data using pointers and C api's ".
Second, what are you looking for in this data or intending to do?
Regards,
John McKay mba
www.rpglanguage.com
On 30/11/2011 16:51, David Gibbs wrote:
Folks:blocks of character data.
I've got a problem where I need to analyze and manipulate very large
normal BIF's.
This character data could be well in excess of 64k.
Since the limit for RPG character fields on 5.4 is 64k ... I can't use
my first idea, but it got shot down).
Upgrading to 6.1 isn't an option due to customer requirements (this was
text in the space.
My current thought is to use pointers and C functions to analyze the
to deal with the individual C api's directly.
%alloc to create space and get a pointer
strstr in place of %scan(s)
strlen in place of %len(%trim(s))
strcat& %realloc in place of s1 + s2
strncpy in place of %subst
dealloc when I'm done with the space.
Obviously I would wrapper the C functions in procedures so I don't have
using pointers and C api's ... Any suggestions on a different approach to
I'm not supper happy with the idea of having to deal with this data
handling these large character variables?
Thanks!
david
--
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.
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.