• Subject: Re: Matching Record (Was Need Help)
  • From: Neil Palmer <NPalmer@xxxxxxxxxxx>
  • Date: Tue, 05 Aug 1997 12:50:55 -0400
  • Organization: NxTrend Technology - Canada

Charlie Massoglia wrote:
> 
> >>Now I am curious:  Aside from all of the laughing about Dave's
> >>punishments, how efficient is MR logic?  Is it fast? Effective? Compared
> >>to what?
> >>
> >>In <199708022227.SAA28481@vixa.voyager.net>, on 08/02/97
> >>   at 06:27 PM, cmassoglia@voyager.net (Charlie Massoglia) said:
> >>
> >>Matching record actually does have some value.
> >>
> >>CAUTION:  TO AVOID BITING CRITICISM, MAKE SURE YOU DELETE THE SOURCE FOR
> >>THIS PROGRAM WHEN YOU ARE DONE SO NOONE WILL KNOW YOU USED MATCHING
> >>RECORD LOGIC!!!
> >>
> >>Charlie Massoglia, Massoglia Technical Consulting, Inc.
> >
> Paul E Musselman said:
> >
> >Matching record logic is very effective compared to fussing with a program
> >to do all that logic by hand.
> >
> >If all you are doing is reading the files sequentially with a match, the
> >most important thing that I always tried to remember is that all of the
> >files you are matching are read in key sequence as if they were sorted
> >together by match fields into 1 long file.
> >
> With keys of equal value from the primary file first and the secondary file
> second.
> 
> Trivia question:  Does anyone remember the difference between the following:
> 
> FFILE1  IPEAE             DISK
> FFILE2  ISEAE             DISK

Program will process both files completely before ending.

> 
> and
> 
> FFILE3  IPEAE             DISK
> FFILE4  IS AE             DISK

Program will end after processing all records from primary file, even if
there are records in secondary file with higher match field values.

> and
> 
> FFILE5  IP AE             DISK
> FFILE6  ISEAE             DISK

The reverse of the previous one - program will end after all records
have been processed from secondary file even if there are still records
unprocessed from Primary file that have match field values higher than
last record in secondary file. 

> Is anyone up for a "Everything You Always Wanted to Know About Matching
> Record Logic But Nobody Told You" RPG IV session at COMMON?
> 

Sounds like fun - especially if it's a BOF held a little while after
CUDS has opened.

-- 
... Neil Palmer                                      AS/400~~~~~      
... NxTrend Technology -Canada       ____________          ___  ~     
... Markham,  Ontario,  Canada       |OOOOOOOOOO| ________  o|__||=   
... Phone: (905) 731-9000 x238       |__________|_|______|_|______)   
... url:http://www.NxTrend.com        oo      oo   oo  oo   OOOo=o\   
... mailto:NPalmer@NxTrend.com     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the Midrange System Mailing List!  To submit a new message,   *
* send your mail to "MIDRANGE-L@midrange.com".  To unsubscribe from     *
* this list send email to MAJORDOMO@midrange.com and specify            *
* 'unsubscribe MIDRANGE-L' in the body of your message.  Questions      *
* should be directed to the list owner / operator: david@midrange.com   *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2020 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].