![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
You might try butil -recover instead. Error 2 means you have a corrupted btrieve file. PeDe wrote: Hi. Is there a way to retrieve data from a *.DTA file other than using butil ? When I'm putting sth like this: butil -SAVE <input_file.DTA> <output_file I get this: Btrieve error on <input_file.DTA>. Status = 2. I have no access to Windows/DOS machine. I'm using Linux+dosemu to accomplish this. -- John |
#3
| |||
| |||
|
|
Just to make sure, you DID replace <input_file.DTA> with the name of your datafile, right? As in: BUTIL -SAVE FILENAME.DTA OUTPUT.UNF |

|
Also, it might help to know which version your Btrieve file is in, and which version of Btrieve you are running. Note that Btrieve 5.x engine will not understand a Btrieve 6.x database file. Also, I'm not sure which database versions, if any, will run in a dosemu environment. |
#4
| |||
| |||
|
|
Hi. Bill Bach wrote: Just to make sure, you DID replace <input_file.DTA> with the name of your datafile, right? As in: BUTIL -SAVE FILENAME.DTA OUTPUT.UNF It was correct ![]() Also, it might help to know which version your Btrieve file is in, and which version of Btrieve you are running. Note that Btrieve 5.x engine will not understand a Btrieve 6.x database file. Also, I'm not sure which database versions, if any, will run in a dosemu environment. Well, this app runs perfectly in dosemu env. and I just wanted to know how I could extract data from those files to use it, let's say, in Excel or sth. Where in the Net can I find a good walk-thru about migrating from btrieve to pervasive ? Thanks for Your assist. -- 10-4 Pe<>De Life is an open road to me. http://www.pld-linux.org/Members/dlugi72 |
#5
| |||
| |||
|
|
Without knowing your database version information, I can't tell you whether you should be able to use BUTIL to get to the file or not. If you still get a Status 2, then the file may be actually corrupted. |
|
To access Btrieve files from other applications, there are several options, all with prerequisites. Please check my white paper list at www.goldstarsoftware.com/press.asp and see the paper on Accessing Btrieve Data From ODBC. This gives you a good idea of what is at play here, along with a link to another paper about determining your database version. |
|
As for "migrating from Btrieiev to Pervasive", there is nothing to do. Simply install the new engine and run your apps. Underneath Pervasive.SQL is a newer version of the Microkernel Database Engine that is also at the heart of Btrieve 6.x. |

#6
| |||
| |||
|
#7
| |||
| |||
|
|
Hi again. Just to clear things out. When I don't have DDF files and there is no way to get them from the developers of my btrieve app I just can't figure out the structure of DTA files by myself (or it would take too long). Am I correct here ? -- 10-4 Pe<>De Life is an open road to me. http://www.pld-linux.org/Members/dlugi72 |
![]() |
| Thread Tools | |
| Display Modes | |
| |