Guardian Procedure Calls Reference Manual

Structure Definitions for output-list
The output-list parameter provides information on the outcome of the PROCESS_LAUNCH_
procedure call. The structure returned is the same structure used in the nowait PROCESS_LAUNCH_
and PROCESS_CREATE_ completion message.
In the TAL ZSYSTAL file, the structure for the output-list parameter is defined as:
STRUCT ZSYS^DDL^SMSG^PROCCREATE^DEF (*)
?IF PTAL
FIELDALIGN (SHARED2)
?ENDIF PTAL
;
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(64) Z^TAG64;
STRUCT Z^DATA;
BEGIN
FILLER 50;
END;
STRUCT Z^PROCNAME = Z^DATA;
BEGIN STRING BYTE [0:49]; END;
END;
In the C zsysc file, the structure for the output-list parameter is defined as:
typedef struct __zsys_ddl_smsg_proccreate
{
short z_msgnumber;
long z_tag;
zsys_ddl_phandle_def z_phandle;
short z_error;
short z_error_detail;
short z_procname_len;
long long z_tag64;
union
{
struct
{
signed char filler_0[50];
} z_data;
char z_procname[50];
} u_z_data;
} zsys_ddl_smsg_proccreate_def;
Z^MSGNUMBER
if it contains the returned value of -102, indicates process creation.
1060 Guardian Procedure Calls (P)