Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using OLD version of REBUILD.EXE w/BTRIEVE files

Status
Not open for further replies.

CKRUG

MIS
Jan 10, 2002
16
US
We are "suddenly" unable to use REBUILD to re-index the data files in our accounting application. The app is character-based, & uses the Btrieve engine on our NetWare 3.2 server. We have re-indexed files in the past, but now we can't get past the error shown below. The command is run in a DOS window on a W98 PC after the Btrieve requestor is launched (REBUILD.EXE & data files all in root DIR):
C:\REBUILD ACCT.DAT,TEMP.DAT /V /S:BTRV /T:BTRV
results in
***Error on input file - file not found
I've tried using the full path in the file name, upper case, lower case, disabling background programs like AV & CD utilies. The Micro Focus REBUILD.EXE version is 3.1.31. I've even restored another copy of the utility file from an old tape & it behaved tha same, so don't think it's corrupted. The maker of the accounting program no longer supports Btrieve, so they're no help. While our accounting data is fine now, if a data file goes bad, we'll be in trouble. I realize all this stuff is terribly old, but it did work fine -- something broke, or we forgot how to use it correctly. Any ideas? Thanks,
Jim
 
I do not know BTrieve, but I know of the "regular" IdxFormat-3 files. Apart from the datafile.dat, there must be a datafile.idx present containing the key definitions. If you try to rebuild the file without specifying the key, rebuild tries to read the key definitions out of datafile.idx. If this file is not present, I can imagine rebuild returning a "File not present" error. This situation can be solved by adding the /K option to the rebuild command, specifying the key.

Marcel
 
Marcel,
As I understand it, btrieve data files have the index (or key definitions) built-in. Our app doesn't use any .idx files. But it was a good thought . . . maybe I should post the question in the Pervasive Btrieve forum.
Thanks,
Jim
 
We had some problems using the rebuild and had to extract a couple of files (but I can't remember where from).

They are fttext.lng and idxcheck.lng.

If you want to email me I'll forward them on to you.


:)
 
Hello:

Were you able to get past the error in rebuild?
Is this .dat file a btrieve file or a microfocus index file?



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top