5 Initiating and Communicating
With Processes
107365 Tandem Computers Incorporated
5–1
TACL provides several ways to initiate, control, and handle the results of processes,
whether they are application programs, utilities, or other TACL processes. For
example, you can:
Run a program and wait to process TACL commands until the program is finished
running.
Run a program and continue to process TACL commands while the program is
running.
Start a utility, such as FUP, and send it a list of commands.
Start a utility, send it commands, and make decisions about further commands,
depending on information obtained from the utility.
If you access a utility or other process frequently during interactive work, you can save
process startup overhead by starting the process once, sending it commands as
needed, and letting it run in the background until you are finished.
The following subsections describe mechanisms for starting and communicating with
processes, including:
Initiating a process: RUN and #NEWPROCESS
Communicating with a process and retrieving results through TACL IN and OUT
files, using:
IN and OUT files
INV and OUTV variables
The INLINE facility
$RECEIVE
#SERVER
These methods use the following type of communication:
TACL
Process such as
FUP or PUP
OPEN
WRITEREAD
REPLY
WRITE
CLOSE