I have a client that has 4Gb of Btrieve files that were generated using ProIV 4.6. He needs to access the data so that a database schema can be extrapolated. Basically, does anyone know how to convert .btr files to proisam format and from .pro format to ASCII text using a batch processing method.

.btr files to proisam format and then to ASCII
Started by
Guest_Chad_*
, Jul 19 2001 02:21 PM
2 replies to this topic
#2
Posted 20 July 2001 - 11:47 AM
Provided you have access to the bootstraps, you could do this with one or two functions.
We've done this to automate proisam to cisam conversion, you could do the same for ascii files.
function ASCII_1:
- takes a file, eg MYFILE, and writes a new
file 'myfile' to filehdr and filedef, as an ASCII file in
the format you want
- modifies function ASCII_2 filespec records for ls1
to read MYFILE, and write myfile, with the clear flag
set on myfile, and change the function revision# to 0
- execute the function, which will then regen and write
the ascii file
We've done this to automate proisam to cisam conversion, you could do the same for ascii files.
function ASCII_1:
- takes a file, eg MYFILE, and writes a new
file 'myfile' to filehdr and filedef, as an ASCII file in
the format you want
- modifies function ASCII_2 filespec records for ls1
to read MYFILE, and write myfile, with the clear flag
set on myfile, and change the function revision# to 0
- execute the function, which will then regen and write
the ascii file
Reply to this topic

0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users