To Load XFDs using a Script

  1. Change to the \AcuGT\bin directory where AcuXDBC or AcuXDBC Server was installed.
  2. Enter one of the following commands:
    addfile filename

    where filename is the name of the XFD file to add to the system catalog. By default, the script assumes that your XFDs are stored in the current directory and that your system catalog is stored in AcuGT/syscat/. Also by default, the user PUBLIC is assumed.

    If you stored your XFDs and/or system catalog elsewhere or if you want to specify an alternate user, you can edit the script or add command-line options as follows:

    addfile [-d syscat_path] [-x xfd_path] [-u user] filename 
    

    Or:

    addfile [-d syscat_path] [-x xfd_path] [-u user] -f filelist 
    

    The second form assumes that you have created a text file that list all of the XFD files that you want to load into the system catalog. When you create a list file, use just the base name of the XFD files; do not use the `.xfd' suffix. List the XFD files one per line. For example, you might create a file called "list.txt" containing:

    animals
    accounts
    pets

    In this case your addfile command would be:

    addfile -f list.txt