Transforms Btrieve Data Dictionary Files (DDFs) into c-tree XDD files, which contain schema information about the data and index structures.
You must first generate .sav files from file.ddf, field.ddf, and index.dff using the btutil command as follows:
butil -save FILE.DDF file.sav
butil -save FIELD.DDF field.sav
butil -save INDEX.DDF index.sav
You are now ready to use ctutil to create the XDD files, as shown in Usage.
Usage
ctutil -ddf2xdd DDF_directory [-rule=rules_file] [-tablename]
Where:
When exporting DDF files, a naming problem can occur if multiple tables in different directories have the same physical data file name. The -tablename parameter avoids naming conflicts by using table names instead of DDF file physical names to determine the XDD output file names.
One XDD file will be created for each file contained in file.sav. These files will be saved in DDF_directory.