Jump to content


- - - - -

.btr files to proisam format and then to ASCII


2 replies to this topic

#1 Guest_Chad_*

Guest_Chad_*
  • Guests

Posted 19 July 2001 - 02:21 PM

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.

#2 Mike Schoen

Mike Schoen

    Expert

  • Members
  • PipPipPipPip
  • 198 posts
  • Gender:Male
  • Location:Guelph, Canada

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

#3 Guest_PETER TERRINGTON_*

Guest_PETER TERRINGTON_*
  • Guests

Posted 06 August 2001 - 10:53 AM

why bother with writing a converstion .btr file are odbc so why not use something like crystal to read files and save data to ascii



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users