The DTst command

Description

Use the DTst command with the -import option to import an AIX file containing state table ASCII source into Blueworx Voice Response. You can use this command as an alternative to using the State Table Editor window to select, import, and validate ASCII source.

If the imported state table has validation errors or warning messages, it will not be created (and it will not be updated if it already exists). Any validation errors are written to stderr.

Use the DTst command with the -export option to export the ASCII source of a state table to an AIX file.

If you want to overwrite an existing state table or AIX file when importing or exporting, use the -noprompt option.

Attention: If you use the -noprompt option you will not be prompted and you might overwrite an existing validated state table.

To use this command you must be logged on to AIX as the Blueworx Voice Response user. Also, you need to know the path name of the AIX file containing the state table ASCII source, and the name of the state table.

Syntax

DTst -import -f pathname -o statetablename

[-noprompt]
[-v versionstring]

DTst -export -f pathname -o statetablename

[-noprompt]

Parameters

-import
This parameter is mandatory for import.
-export
This parameter is mandatory for export.
-f pathname
This mandatory parameter specifies the name of the AIX file to be used as input for import, or output for export. Use this parameter with both the -import and -export parameters.
-o statetablename
This mandatory parameter specifies the name of the state table. Use this parameter with both the -import and -export parameters.
-noprompt
This optional flag specifies that an existing state table or AIX file may be overwritten. You can use this parameter with both the -import and -export parameters.
-v versionstring
This optional parameter, used with the -import parameter, sets a user-defined version identification string in the Blueworx Voice Response database. You can display this data in the Details view in the Application Manager window.

Return codes

1
Incorrect usage
2
State table does not exist
3
Unable to open AIX file
4
Parse errors
5
Validation errors