Guardian Programmer's Guide

Table Of Contents
Creating and Managing Processes
Guardian Programmer’s Guide 421922-014
16 - 22
Using the PROCESS_LAUNCH_ Procedure
programs, declarations are contained in the ZSYSC file. For further information about
using the ZSYS* files, refer to the subsection Using Parameter Declarations Files in
Section 1, Introduction to Guardian Programming.
The main output of the PROCESS_LAUNCH_ procedure is returned by a parameter
that is also formatted as a structure. Its format is identical to that of the nowait
PROCESS_LAUNCH_ or PROCESS_CREATE_ completion message (system
message -102). In the TAL ZSYSTAL file, the structure for this message is defined as
follows:
STRUCT ZSYS^DDL^SMSG^PROCCREATE^DEF (*)
BEGIN
INT Z^MSGNUMBER;
INT(32) Z^TAG;
STRUCT Z^PHANDLE;
BEGIN
STRUCT Z^DATA;
BEGIN
STRING ZTYPE;
FILLER 19;
END;
INT Z^WORD[0:9] = Z^DATA;
STRUCT Z^BYTE = Z^DATA;
BEGIN STRING BYTE [0:19]; END;
END;
INT Z^ERROR;
INT Z^ERROR^DETAIL;
INT Z^PROCNAME^LEN;
INT Z^RESERVED[0:3];
STRUCT Z^DATA;
BEGIN
FILLER 50;
END;
STRUCT Z^PROCNAME = Z^DATA;
BEGIN STRING BYTE [0:49]; END;
END;