[comp.sys.novell] Btrieve problems

pramirez@mtecv2.mty.itesm.mx (Ing. Pablo G. Ramirez) (06/21/91)

    I have been using BTrieve Ver. 4.11 for some months but now I'm
     switching my applications to Btrieve Ver. 5.10a and my data
     files are loosing page zero where information about indexes 
     and records size is stored.
   If I loose the information stored in page zero then I can't
     read my data.
   I'm not using VAPs and I wish to know some way to recover all the
     records in my data file.

                                             Thank you

rxcob@minyos.xx.rmit.oz.au (Owen Baker) (06/21/91)

pramirez@mtecv2.mty.itesm.mx (Ing. Pablo G. Ramirez) writes:
>    I have been using BTrieve Ver. 4.11 for some months but now I'm
>     switching my applications to Btrieve Ver. 5.10a and my data
>     files are loosing page zero where information about indexes 
>     and records size is stored.
>   If I loose the information stored in page zero then I can't
>     read my data.
>   I'm not using VAPs and I wish to know some way to recover all the
>     records in my data file.

You could try using the 4.11 BUTIL -SAVE option to write the old file out
to a save file then use the 5.10 BUTIL -LOAD option to read the save file
in to the new file. It would be advisable to create the new file using the
5.10 BUTIL -CREATE option before loading the data in so that you know the
file was created for v5.10.

If the files not to big and your stuck you can send me the file in question
and its description file and I'll try it for you. Hope this helps.

+----------------------------------------------------------------------------+
| Owen Baker                                                                 |
| odb@bodoni.csu.rmit.oz.au                      RMIT Novell - BODONI/ODB    |
| CSU, RMIT, Melbourne, Vic. Australia.          Telephone (61) (3) 660-2038 |
+----------------------------------------------------------------------------+