Using Define Process
Initiating and Communicating With Processes
107365 Tandem Computers Incorporated
5–31
Limitations on the Use of #SERVER
TACL supports only one active READ at a time from each server path. If more than
one process sends a READ or WRITEREAD to a server path, TACL process the first
such request that arrives and returns a file system error 28 to each of the other
processes. For additional limitations, see the TACL Reference Manual.
Deleting the Process Name
Your program remains accessible until you delete the name with a call to #SERVER
with the KILL option. For example:
#SERVER /KILL/
server-name
If you log off, all server paths are deleted immediately.
Using Define Process
The Define Process (DP) facility is a library of TACL commands that is part of the
ViewPoint product. DP provides a mechanism for starting and communicating with
processes. If ViewPoint is installed on your system, you can use DP to:
Define and start one or more background processes
Communicate with a background process interactively or with a list of commands
Manage response data
As with other asynchronous background processes, you can use DP to run a process
and access it frequently to avoid the startup overhead associated with multiple
initializations of the same program.
To use DP, add the DP directory to your uselist:
#SET #USELIST [#USELIST] DP
Next, associate a name with a background process. The following code starts a FUP
process, associates the name F with it, requests a FUP INFO * operation, and then
deletes the FUP process and associated variable:
20> DP FUP /PNAME f/
21> F INFO *
CODE EOF LAST MODIF OWNER RWEP
$DATA.SV
MYKEYS 101 2536 16MAY92 13:01 8,16 CUCU
TACLCSTM 101 20480 24SEP91 15:20 8,16 CUCU
22>
...
44> UNDP F
For more information about DP, see the ViewPoint Manual.