Importing files into the custom server directory

All data that comprises a custom server (the main() and user functions and declarations) must reside in the Blueworx Voice Response custom server directory before you can build the custom server. The custom server directory is established by an environment variable set when the Blueworx Voice Response environment is defined. The directory is automatically created when you use the custom server Import facility described in Step 3 of the following procedure.

Note: Take care not to import a file whose filename exceeds 100 characters, or a file whose path name would result in a directory with a complete path name exceeding 155 characters, because you will be unable to export such files or migrate them to a new release.

Use the following procedure to import custom server data from tape, diskette, or a file in the AIX file system into the custom server directory:

  1. From the Welcome window, select Applications —> Custom Servers
  2. Open custom server: Open the custom server that defines the data you want to import into the custom server directory. The system displays the Custom Server window.
  3. Open custom server import window: Click Utilities —> Import. The system displays the Custom Server Import window. The window displays the name of the custom server directory and prompts you to import the data using the appropriate AIX command.
  4. Import from tape or diskette: To import from tape or diskette, insert the tape or diskette containing the files into the pSeries computer diskette or tape drive.

    Then, in the Custom Server Import window, type the appropriate AIX command to copy the data. For example:

    tar -xvf /dev/fd0

    and press Enter. The system copies the contents of the tape or diskette into the custom server directory.

  5. Import from another directory: To import from another directory, type the appropriate copy command. For example:
    cp ~/csmain csmain

    and press Enter. The system copies the specified files into the custom server directory.

  6. To close the Custom Server Import window, type exit, then press Enter.
  7. Close the Custom Server window.