Code Comments
Programming Forum and web based access to our favorite programming groups.On Tue, 26 Jun 2007 02:43:41 +1200, "Pete Dashwood" <dashwood@removethis.enternet.co.nz> wrote: > >I also share your aversion to COPY code in the procedure division, and woul d >never do this. > >(I don't even like doing it in the Data Division; instead I'd have an acces s >module (for the file that would be COPYed) that combines procedure and data >into a separate layer. Ths would then be CALLED instead of code being >COPYed. I can generate such a module very quickly from templates I have.) Actually if you copy code in as a nested program, you may get some interesting optimization that separate linking can't provide. If nothing else, the calling sequence may be optimized. In terms of Data Division copies, I want them for all data descriptions that are shared. > >Good job :-) > >Pete. >
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.