Re: multiple file reads and sorts
From: William M. Klein (wmklein_at_nospam.netcom.com)
Date: 01/09/04
- Next message: Rich Chilausky: "Re: Novice Question About Console I/O"
- Previous message: Richard: "Re: multiple file reads and sorts"
- In reply to: Richard: "Re: multiple file reads and sorts"
- Next in thread: Richard: "Re: multiple file reads and sorts"
- Reply: Richard: "Re: multiple file reads and sorts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 08 Jan 2004 23:20:43 GMT
Alternatively, if the logic for YOUR program indicates that having a duplicate
alternate record key is an "application error" - the process it accordingly (as
an error for YOUR program).
-- Bill Klein wmklein <at> ix.netcom.com "Richard" <riplin@Azonic.co.nz> wrote in message news:217e491a.0401081512.429f7a39@posting.google.com... > ritchie_s01@yahoo.com (ritchie) wrote > > > This has proved most helpful in narrowing down the errors. > > It has also uncovered extra problems, as always!, that i'll need to > > work on ie: duplicate record key errors - CODE "02... > > File status first byte indicates success or failure. '0' is a sucess. > > The 2nd byte gives additional information '2' is duplicate. > > I would assume from this that you have an alternate key with > duplicates allowed and it successfully wrote, or read, a record that > creates an allowed duplicate key. > > When checking file status for success you should never check for '00' > as there are several success codes that have additional information.
- Next message: Rich Chilausky: "Re: Novice Question About Console I/O"
- Previous message: Richard: "Re: multiple file reads and sorts"
- In reply to: Richard: "Re: multiple file reads and sorts"
- Next in thread: Richard: "Re: multiple file reads and sorts"
- Reply: Richard: "Re: multiple file reads and sorts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|