Subject: | |
From: | |
Reply To: | |
Date: | Mon, 24 Apr 1995 05:45:38 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
James English <[log in to unmask]> wrote:
>Does anybody know what is contained in the root file of a TurboImage
>database?
>
>The reason I ask this is that I'd like to be able to copy just a few
>datasets from one database (a Test database) to another database (a
>Production database). I figure I would use a utility such as DBCPlus to
>define the dataset to the Production database, and then copy the
>dataset from the Test database group to the Production database group.
>Can this work?
>
>I'm not sure if this would corrupt the database or not.
James,
It is possible to 'replace' or 'add' datasets to databases as you are
asking about. However, there are some problems matching up the root
file as you suspect. Defining a new dataset with a database utility
and then replacing the dataset will work, *if*
1) your new file (eof, flimit, cap, etc) is the same as the old
file, and you can change the current entry values in
the old file, or
2) you can change all the information in the root file to match
the old file.
I would suggest number 1, if you have a tool that will change this
information. If you don't, I would NOT suggesting doing this yourselve.
Larry Boyd
|
|
|