Guardian Programming Reference Summary for pTAL and TAL

Procedure Calls Summary (O-Q)
Guardian Programming Reference Summary for pTAL and TAL522631-001
7-30
PROCESS_LAUNCH_
Creates a new process and, optionally, assigns a number of process attributes.
You can use this procedure to create only Guardian processes, although you can call it
from a Guardian process or an OSS process. The program file must contain a program
for execution in the Guardian environment. The program file and any user library file
must reside in the Guardian name space; that is, they must not be OSS files.
You can specify that the new process be created in either a waited or nowait manner.
When it is created in a waited manner, identification for the new process is returned
directly to the caller. When it is created in a nowait manner, its identification is returned
in a system message sent to the caller’s $RECEIVE file.
DEFINEs can be propagated to a new process. The DEFINEs can come from the
caller’s context or from a buffer of DEFINEs saved by the DEFINESAVE procedure.
Any parameter that can specify a file name can contain a DEFINE.
PROCESS_SETINFO_
Alters a single nonstring attribute of a specified process and optionally returns the prior
value of the attribute.
error:= PROCESS_LAUNCH_
( param-list
,[ error-detail ]
,[ output-list:maxlen ]
,[ output-list-len ] );
error, INT returned value
param-list, INT .EXT:ref:* input
error-detail, INT .EXT:ref:* output
output-list:maxlen, STRING .EXT:ref:*, INT:value output:input
output-list-len, INT .EXT:ref:* output
error := PROCESS_SETINFO_ ( [ processhandle ]
,[ specifier ]
,set-attr-code
,[ set-value ]
,[ set-value-len ]
,[ old-value ]
,[ old-value-maxlen ]
,[ old-value-len ] );