Calling Other Programs (Magic xpa 4.x)
Task Prefix is always executed on the server (except in Offline tasks where it is a client-side operation). Therefore, when you call a Rich Client task or program, current processing on the client has to pause while access is made to the server. The called task's Task Prefix is executed on the server and the window opens on the client.
You can call batch tasks from a Rich Client task. The Rich Client task will halt processing until the Batch task is completed.
Batch tasks always run on the server. You need to keep this in mind if, for instance, you are using operating system files. I/O file names will refer to names on the server machine. There are special functions to help with this, covered in Accessing Client Resources.
The Start and Stop Execution dialog boxes are not supported for Batch tasks that are called from a Rich Client task.
In this section, you can find information about the following:
Context Management
Parallel Processing