+ Reply to Thread
Results 1 to 3 of 3

Thread: KeyedFile problem

  1. #1
    Guest.Visitor Guest

    Default KeyedFile problem

    Hi, I'm using the com.ibm.as400.access.KeyedFile class. In order to collect few records owning the same partial key, I'm using the readNextEqual (Object ) method. readNextEqual reads the wanted records, but after it has red the last record, readNextEqual doesn't return (no null value, no Exception...). My program is freezed. What's happening ? What can I do ? Thank's

  2. #2
    Guest.Visitor Guest

    Default KeyedFile problem

    It might be this: Prior to Toolbox PTF SF59086, readNextEqual() would continue reading records until it hit the end of the file, which can be particularly nasty if the file contains millions of records. That might be what you are seeing as a "freeze"... it's just continuing to read the rest of your file instead of quitting after the last "equal". The fix is in PTF SF59086 (and later) for Toolbox Mod2. The Toolbox "service packs" download site is: http://www.ibm.com/as400/toolbox/servicepacks.htm - Jeff Lee AS/400 Toolbox for Java team

  3. #3
    Guest.Visitor Guest

    Default KeyedFile problem

    You were right, it works perfectly ! Thanks !

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts