× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Joe Pluta wrote:
> 
> Okay, let me put a hypothetical to you.
> 
> Let's say you had a 20,000 line program (I know this is bad to start with,
> but this is reality) and it had roughly 500 MOVE opcodes in it.  This is not
> an unusual circumstance in any legacy shop.  For some reason, we had an
> "opportunity" (and I use the term loosely) to add a new file for some sort
> of lookup operation.
> 
> Would you (and remember, death is not an option):
> 
> 1. Pass on /free and add a KLIST and the appropriate chains
> 2. Toss in a block of /free code to make use of the new chain syntax
> 3. Rewrite the entire thing removing the MOVE opcodes
> 

Depends.  For a 20,000 line program, 1 or 2.  If I was only adding a few
of lines, I'd pass on /free.  If I was changing a significant part of
the code, I'd rewrite the section I was working on.  Or, I might make a
new /free module/program for that file and call the program from the
first program.

Each shop has to decide how to procede.  But the issue is similar to
dealing with converted RPG III code that has

C          A        IFEQ      'X'
C          A        OREQ      'Y'

When you're changing the code following that IFEQ/OREQ, what do you do? 
What if you're adding a case for 'Z'?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

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.