Toshiba Strata CIX Programming Manual page 210

Application release 5
Hide thumbs Also See for Strata CIX:
Table of Contents

Advertisement

Token Programming
Defined Tokens
Table 11-3
Defined Tokens (continued)
Token
Search for value–the V( ) token searches the specified file, in the specified field, for the value given
by item. If Stratagy ES finds the value, Stratagy ES stores the contents of the second field into
variable %Sn. If Stratagy ES does not find the value, the token terminates and returns to the Done
state.
If file ends with .DBF, Stratagy ES assumes it is in dBase format. Stratagy ES assumes field names
instead of field numbers and invokes dBase file processing (including record locking, if specified).
Otherwise Stratagy ES assumes that it is the name of an ASCII file with columns separated by
commas.
There may be several pairs of fields and %Sn values, and Stratagy ES will retrieve them.
Syntax
where:
file
field
item
V( )
%Sn
Examples
A caller enters his customer number to hear his credit line:
@R(G1,%S1,20)
G1
%S1
20
@V(credit.doc,1,%S1,2,%S2)
©
©
P(G2)P(%S2,$)
P(G2)
P(%S2,$)
11-18
V(file,field,item,field,%Sn[,field,%Sn...])
dBase file (.DBF) or ASCII file with columns separated by commas (comma delimited). Valid
DOS file name. Can be a variable.
dBase file field name or ASCII file column number. (1 is the value of the field before the
comma.) Can be a variable.
An alphanumeric string. Can contain %S variables.
One of the %S storage variables (range: 0~19).
Plays greeting 1: "Please enter your customer number."
Stores the caller's entry in variable %S1.
Waits 2 seconds (20 ÷ 10 = 2) for DTMF after playing the greeting.
Searches CREDIT.DOC for customer number %S1 in field 1.
Stores the contents of field 2 in variable %S2.
Plays Greeting 2: "Your credit line is"
Says the value stored in %S2 as a dollar amount: "five thousand dollars."
Description
Strata CIX Voice Mail Programming
01/07

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Strata cix stratagy es voice mail

Table of Contents