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



Are you externally defining the files, too?

Otherwise, just ignore/delete the first two definitions since they are not used.

Willie J. Moore wrote:
I am converting some old RPG programs with internally defined files to RPGIV.

What I have run across is two fields defined as one in the old RPG program.
Ex:     1       5       lot1
        6       10      lot2
        1       10      lotall
Then lotall is used though out the program.

I know that I can do this with DS (Data Structures). Chain to file then move 
fields in the DS.  But that seams like a lot of work and extra programming.

I would like to know if there is an easier way to do this that would not 
require the use of the DS. I would prefer that whenever a chain/read is done on 
file that lotall is build and ready.

Thanks in advance for the help,
William Moore
Cal Fine Wire




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.