|
It would be interesting, in debug, to see what the values are of these 2 fields. Before the debuggers of today I would have written a new short program that printed these 2 fields in a report. It would be what? Maybe 6 lines? Then run the program and see where it fails, and what the values are at that point? This is a really cool problem. Matching records. Ah, a man of distinction; not one of those modern new whipper snappers that thinks the cycle is for wimps. :) --------------------------------------------------------- Booth Martin http://www.MartinVT.com Booth@xxxxxxxxxxxx --------------------------------------------------------- -------Original Message------- From: Midrange Systems Technical Discussion Date: Wednesday, September 17, 2003 01:08:06 To: Midrange Systems Technical Discussion Subject: Re: Sequence error in MR Hi Booth, Yes. The key in both files is first name. And only first name. Thank you, Gary Kuznitz > But what is the key field in file KAISLISTL1? Is it also first name? If not, > what you describe happening can happen. > > > --------------------------------------------------------- > Booth Martin http://www.MartinVT.com > Booth@xxxxxxxxxxxx > --------------------------------------------------------- > > -------Original Message------- > > From: Midrange Systems Technical Discussion > Date: Tuesday, September 16, 2003 20:01:46 > To: Midrange Systems Technical Discussion > Subject: Re: Sequence error in MR > > Hi Booth, > > Thanks for the reply. In my original email I had: > > The file has one key: > > A K FIRSTNAME > > Thanks, > > Gary > > > what is the key on the other file? If it isn't first name also you'll get this > > result. > > > > > > > > --------------------------------------------------------- > > Booth Martin http://www.MartinVT.com > > Booth@xxxxxxxxxxxx > > --------------------------------------------------------- > > > > -------Original Message------- > > > > From: Midrange Systems Technical Discussion > > Date: Tuesday, September 16, 2003 17:16:32 > > To: Midrange Systems Technical Discussion > > Subject: Sequence error in MR > > > > Hi, > > > > I have a program that is giving me a sequence error. I'm sure your all > going to > > have fun with this but I'm wondering if anyone can figure out what the > problem > > is. The error is: > > Message ID . . . . . . : RNQ1031 Severity . . . . . . . : 99 > > Message type . . . . . : Inquiry > > Date sent . . . . . . : 09/16/03 Time sent . . . . . . : 14:44:08 > > Message . . . . : The match field for file KAISXMITL1 is out of sequence > > (C > > G D F). > > Cause . . . . . : RPG procedure KAISXCMPRL in program > > KDICHANGET/KAISXCMPRL > > at statement *GETIN detected a match-field sequence error in file > > KAISXMITL1. The actual file is KDICHANGES/KAISXMITL1(KAISXMITL1). > > > > The file has one key: > > A K FIRSTNAME > > > > The program has been modified for simplicity: > > FKAISXMITL1IP AE K DISK > > FKAISLISTL1IS AE K DISK > > IKAISXL1 01 > > I FIRSTNAME M1 > > IKAISlistr1 02 > > I FIRSTNAMEL M1 > > > > TIA, > > > > Gary Kuznitz
As an Amazon Associate we earn from qualifying purchases.
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.