× 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.


  • Subject: Re: What bugs you about KLISTs in RPG IV?
  • From: "Dan Bale" <dbale@xxxxxxxxxxx>
  • Date: Fri, 18 Jun 1999 12:46:04 -0400



Bruce,

I know this dead horse is getting pretty well beaten ;-), but.....

>>You know, searching for a klist is only an F16 key away.<<

Yeah, but why search for it when you have it right with ONE op code, the chain
or reade?

>>Just about any editor can find the klist.  The problem is that you are
suggesting that we remove the klist and scatter the information across the
program instead of just one place.<<

What is the "information"?  The key values?  Tell me from the two examples below
which is more "scattered".

Example 1:
 At the top of the C-specs:
    Key1      Klist
              Kfld           CoNo55
              Kfld           OrdN55
              Kfld           OrdL55
 ... hundreds of lines later, in a subroutine far, far away...
              Eval     CoNo55 = L#CoNo
              Eval     OrdN55 = OrdN50
              Eval     OrdL55 = OrdL50
    Key1      Chain    File55                  99

Example 2:
     chain   File55(L#CoNo: OrdN50: OrdL50)

You know what my choice will be.  One op code, one place, one change.

- Dan Bale





* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the RPG/400 Discussion Mailing List!  To submit a new         *
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
* from this list send email to MAJORDOMO@midrange.com and specify       *
* 'unsubscribe RPG400-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 thread ...

Follow-Ups:

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.