The Task Server


The Task Server is used to perform operations which for any reason cannot be done by the system which the user is connected to. Example uses of the task server include:

  • Users connect to VC/m on a Unix system and need to move files on a Windows system.
  • Users need to manage code on a different Caché/M implementation from the one they are connected to.
  • Users manage code which needs to be compiled under a different Caché version from the one they are connected to.

The Task Server can run on any machine which has an Caché/M networking connection to the machine which the users are connected to. Most commonly, the users connect to the VC/m server and the task server runs on another machine. In some cases the users connect to another machine and the task server runs on the VC/m server. Sometimes users may connect to either machine and so a task server runs on both.

The task server is an Caché/M background job. It monitors the global ^%gjtask for tasks to be done. It then switches namespace to the place where the task is to be performed.

The physical location addresses must be defined using the remote address syntax.

Starting and Stopping a Task Server


To start a task server:

do fast1^%vczn

To stop a task server:

do fast0^%vczn