set command

Last Updated : Oct 18, 2016 |

Use the set vector command to perform the following tasks:

  • Perform numeric and digit string operations

  • Assign values to a user-assignable vector variable or to the digits buffer during vector processing

  • Include the agent identifier in User-to User Information in a system-defined variable for vectoring use when a customer call is redirected by the VDN Return Destination (VRD) feature into vector processing.

You can control the call flow through the vectors based on specific circumstances for individual calls. The set vector step allows the following types of variable entries:

  • A to Z and AA to ZZ user-assigned local or global collect vector variables

  • A to Z and AA to ZZ system-assigned vector variables, for example, ani, asaiuui, agent, and doy

  • V1 to V9 VDN variable types

  • A directly-entered numeric value

  • The collected digits buffer where digits from the caller are stored

Reason to use

This command adds powerful and flexible programming functionality to vector processing because all other commands allow you to use only fixed values. This command allows you to manipulate variables using mathematics and digit operators.

Syntax and valid entries

The basic syntax of the set command is:

set [vector variable, Digitsagent ] = [operand1] [The operator] [operand2]

set

user-assigned type

(Only global or local collect type vector variables can be assigned using the set command.)

A-Z or AA-ZZ

=

user-assigned type A-Z or AA-ZZ

ADD, SUB, MUL, DIV, CATL, CATR, MOD10, or SEL

user-assigned type A-Z or AA-ZZ

asaiuui A-Z or AA-ZZ

system-assigned A-Z or AA-ZZ

system-assigned A-Z or AA-ZZ

directly-entered numeric string

(Limited to 4294967295 with ADD, SUB, MUL, or DIV. For all other operators, the limit is 16 digits.)

V1-V9

V1-V9

digits

(The collected digits buffer holds up to 16 digits.)

digits

digits

none

none

agent

digits

agent

The collected agent identifier holds up to 16 digits and scope for the agent type is always local.