To load XFDs using the xdbcutil utility

To load the system catalog with your XFDs, minimally, use the -d and -a options to xdbcutil, as shown below:

xdbcutil [-d SYSCAT_PATH] <-a xfd1 [xfd2...]>

For example:

xdbcutil -d c:\data\dict -a c:\data\XFD\animals

results in the system catalog in c:\data\dict being loaded with information from the XFD named animals found in c:\data\XFD.

Rather than prepending the XFD filenames with their path, however, you can specify the XFD directory with the -x option, as in:

xdbcutil -d c:\data\dict -x c:\data\XFD -a animals

This would have the same effect as the preceding example.

If desired, you can create a file with a list of XFD names and then specify it with an -f option, along with the -x option to specify the directory. For example, this command:

xdbcutil -d c:\data\dict -x c:\data\XFD -f list.txt 

and a list.txt that contains this:

animals
accounts
pets

results in a system catalog with table definitions from animals, accounts, and pets.

If you have several different XFD directories, you can create the list file with the XFD paths prepended. For example, this command:

xdbcutil -d c:\data\dict -f list.txt

and a list.txt that contains this:

c:\data\data\animals
c:\data\data2\accounts
c:\data\other\pets

results in a catalog with three table definitions, coming from XFDs in three separate XFD directories.

Note: xdbcutil command syntax is described in xdbcutil Syntax.

See Setting Up File Aliases for more information on xdbcutil.