Re: "Shared" procedure division code



> I neither recommend this approach nor (personally) know of any reason to use it
> in today's computing environment, but did think it was worth mentioning (both
> for the "use of duplicated code" and the solution to "maintenance of such code")

Maintenance of the code is the big reason to use such code.

If you have a routine that works and is used by a number of different
programs, putting it in a copybook is the quickest and easiest way to
stream line the maintenance. However If it starts getting to big there
is the question of making it it's own sub program.

.



Relevant Pages

  • Re: "Shared" procedure division code
    ... but did think it was worth mentioning (both ... Maintenance of the code is the big reason to use such code. ... is the question of making it it's own sub program. ...
    (comp.lang.cobol)
  • Re: "Shared" procedure division code
    ... > Maintenance of the code is the big reason to use such code. ... > is the question of making it it's own sub program. ... simply PERFORM that paragraph. ...
    (comp.lang.cobol)
  • Re: opinions on an office machine?
    ... > Part of the reason I had been thinking "capsule" is the fact that the ... > people who have been assigned to do maintenance on the current Saeco ... > no reason to suppose that another superauto in the faculty lounge would ... periodic required cleaning and descaling of the machine--he may see that as ...
    (alt.coffee)
  • Re: opinions on an office machine?
    ... Jack, Dave - ... Part of the reason I had been thinking "capsule" is the fact that the ... people who have been assigned to do maintenance on the current Saeco ...
    (alt.coffee)
  • Re: XP - Log off or Shut Down?
    ... Maintenance is done remotely by admin folk during non-use hours, ... Windows help - www.rickrogers.org ... is there a system reason why it's better to restart ... >> possibility of power failure (even with an uninterruptible power supply, ...
    (microsoft.public.windowsxp.basics)