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



Hi Hans -

Ken Sims wrote:
> I haven't found a reasonable way other than using a pointer to be able to
> access two difference occurrences of a MODS simultaneously; where I am
> actually accessing the real data, not a copy.

Then you'll enjoy RPG IV in V5R2 which introduces the concept of
array data structures. These are sort of like MODS's, but you
explicitly code the index. Thus, you can refer to multiple
occurrences (or elements) in the same expression. That makes one
fewer reason for using pointers!  ;-)
Well, that's something to look forward to and something that I will
definitely take advantage of, however we no longer have our own AS/400 but
run on ones at corporate, so I have no control over when the systems are
upgraded from V5R1 to V5R2. :(

The first program that I wrote which needed the simultaneous access to real
data (because it updates both occurrences) was written on V4R4.  I'm
working on a program now which I thought was going to need it, but because
of some database changes I'm making, I'm pretty sure that will not be
necessary.

Enjoy your time off with your family.

Ken
Opinions expressed are my own and do not necessarily represent the views of
my employer or anyone in their right mind.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.