Vector subroutines

Last Updated : Jun 04, 2019 |

Subroutines use common vector programs that can be used by different vectors without duplicating the same sequence in each vector. Subroutines can significantly decrease the number of steps and vectors required.

The goto step is used for vector subroutines. The goto step uses:

  • The @ step parameter to branch to a specific step in the vector

  • The return command to return from a subroutine

The maximum simultaneous active subroutine calls allowed are:

  • 8000 for Avaya S8500, S87XX, S88XX, and Avaya Common Server platforms

  • 400 for Avaya S8300

With vector subroutines, you can reuse common sets of vector commands. For example, you can use a single subroutine for all vectors to determine if a call has arrived within business hours. Without a subroutine, each vector repeats the step.

Following are some of the advantages of using vector subroutines:

  • More steps per vector by removing duplication.

  • Unused steps at the end of vectors can be used for subroutines, expanding vector capacity.

  • Ease of administration. You can change just one vector subroutine that is referenced by many vectors, such as changing office hours or wait treatment.