Guardian Programmer's Guide

Table Of Contents
Communicating With a TACL Process
Guardian Programmer’s Guide 421922-014
8 - 3
Obtaining Startup Information
process (command-interpreter message code -3). This message contains ASCII
parameter values set up by the PARAM command.
5. The system sends a system message number -104 (Close message) when the
TACL process closes the new process. This message indicates that the TACL
process has completed its communication with the new process.
The new process can read the above messages from its $RECEIVE file by calling the
INITIALIZER procedure. INITIALIZER allows your program to receive these messages
without having to deal directly with $RECEIVE. In addition to reading the messages,
INITIALIZER calls your procedures to process the Startup, Assign, and Param
messages.
DEFINEs are automatically passed to the new process from its parent process when
the new process is created. The new process does not have to do anything to get
these DEFINEs.
If a process other than a TACL process opens the new process, it must send the same
sequence of messages as the TACL process. Section 16, Creating and Managing
Processes, provides details.
Obtaining Startup Information
To obtain startup information, your program must read and process the Startup
message. This message is usually part of the startup sequence that takes place
between a process and the process that it creates. It is sent to every process that is
started by the TACL process. The Startup message can be omitted only if both the
parent and child processes agree.