On Apr 5, 2012, at 3:22 PM, midrange-l-request@xxxxxxxxxxxx wrote:

As part of the upgrade, we'd like to change all program defined files to
externally defined files. Unfortunately, the file SALES doesn't exist so
compiles would fail. I could change them all to SALES2012, but at some
point this file won't exist either. I can create an empty file named SALES
with the same layout and no records, but this still has it's problems
(there are many programs where the file is defined more then once, SALES1
and SALES2, for summary processing).

Personally I would use an empty file with the correct definitions. You might want to play with the authority and/or max records etc. to ensure it can never actually be used.

Can you not just use the same OVR prior to compiling? Since you say they are "OLD" I'm assuming you have no converted them to RPG IV. If by some chance you have then you can use the H-spec EXTFILE/EXTDESC keywords to ensure you always use the same file.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com





This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].