Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

COPY code in procedure division was Re: Stop Run vs GoBack
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.
>

Report this thread to moderator Post Follow-up to this message
Old Post
Clark F Morris
08-19-07 11:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Cobol archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 09:04 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.