If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Pervasive.SQL > Need help to extract data

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-21-10, 16:07
jan-- jan-- is offline
Registered User
 
Join Date: Nov 2010
Posts: 5
Need help to extract data

Hi guys,

I have an application that uses obviously btrieve to store data into different *.DAT files. Eventually, I'd like to extract the data from those files into another database. However, I'm not a database pro. I suspect the files have the betrieve 6.15 file format as I know that the program uses the following DLLs:

WBTRCALL.DLL - Btrieve Requester Vers. 6.15.440.1
WBTRTHNK.DLL - 16 to 32 bit Thunk DLL Vers. 6.15.280.0
WBTRV32.DLL - Microkernel Interface DLL Vers. 6.15.440.0
WBTRVRES.DLL - Betrieve Requester Resource DLL Vers. 6.15.3.0
WDBUEI32.DLL - DB Utilities Engine Interface DLL Vers. 6.15.2.0

I have no .DDF files, so I tried to create them with BtSearch2009 but I always receive "Betrieve Error 3020" when I try to open a .DAT file. I have to idea how to fix this error ("You receive this status code when an error occurs while loading the MicroKernel or when access to the server and client machine shared memory objects are unavailable. Check the Pervasive Event Log for more information.").

Is there any simple way to access the data from the .DAT files I have? I have a program that can read the database tables but I am not able to export anything :/

Btw is it possible that the files are encrypted?

Thanks a lot,
Jan

Last edited by jan--; 11-21-10 at 16:13.
Reply With Quote
  #2 (permalink)  
Old 11-21-10, 20:45
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
BTSearch is returning the error 3020 because it is 32 bit and your Btrieve is 16 bit.

You can download a trial version of the PSQL v11 workgroup engine from Pervasive's web site (Pervasive Database). Once you download the WGE, you can run BTSearch or the built in DDF Builder to build DDFs. Once you've got DDFs, you can use ODBC and your favorite extraction program to extract the data.

If the files are encrypted, you'll need the owner name to decrypt them.
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
  #3 (permalink)  
Old 11-22-10, 01:13
jan-- jan-- is offline
Registered User
 
Join Date: Nov 2010
Posts: 5
It works...awesome! Thank you so much
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On