|
In message <343BEE90.BD5@usaor.net>, From Tim Truax <truax@usaor.net>, the following was written: > In order to get this program to compile I had to CRTDUPOBJ > DUPDATA(*NO) the USSRCHM file into my library as UXSRCHM, then place > an OVRDBF for UXSRCHM to point to actual USSRCHM file. Is creating an > empty file object considered proper to getting the program to compile? Tim, It's either that or build a wrapper around the compiler to install an override for the file - that works too. There are negatives either way. With the dummy file, you need to make sure its definition matches the real one. That's a potential problem if the production file is changed. With compile time overrides (of course you could just install an override from the command line and compile interactively, but we all know that's a bad thing to do...) you need to maintain an extra program to install the override and execute the compile and you must document things sufficiently so that you will know how to run the compile the next time you see the beast. In our shop, we use the latter method. We have a standard naming convention for compile override programs, and try very hard to document the source sufficiently so that we don't confuse ourselves, but we still find a program (talking RPG 3 here) that won't compile from time to time when we need to mass compile a bunch of code. This is less of a problem with RPG 4, because the compile procedure doesn't so easily lend itself to mass compiles We're more likely to read the notes in the source. Pete -- - Pete Hall peteh@earth.inwave.com http://www.inwave.com/~peteh/ +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MAJORDOMO@midrange.com | and specify 'unsubscribe MIDRANGE-L' in the body of your message. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.