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 maximum simultaneous active subroutine calls allowed are:
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.