View Full Version : KeyedFile problem
01-01-1995, 02:00 AM
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
03-30-2000, 07:42 AM
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
04-03-2000, 02:07 AM
You were right, it works perfectly ! Thanks !
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.