Guardian Procedure Calls Reference Manual

Returned Value
INT
Outcome of the call. Table 35 (page 1061) summarizes possible values for error.
Structure Definitions for param-list
The param-list parameter specifies the attributes of the new process.
In the TAL ZSYSTAL file, the structure for the param-list parameter is defined as:
STRUCT ZSYS^DDL^PLAUNCH^PARMS^DEF (*)
FIELDALIGN (SHARED2)
?ENDIF PTAL
;
BEGIN
INT Z^VERSION;
INT Z^LENGTH;
INT(32) Z^PROGRAM^NAME;
INT(32) Z^PROGRAM^NAME^LEN;
INT(32) Z^LIBRARY^NAME;
INT(32 Z^LIBRARY^NAME^LEN;
INT(32) Z^SWAPFILE^NAME;
INT(32) Z^SWAPFILE^NAME^LEN;
INT(32) Z^EXTSWAPFILE^NAME;
INT(32) Z^EXTSWAPFILE^NAME^LEN;
INT(32) Z^PROCESS^NAME;
INT(32) Z^PROCESS^NAME^LEN;
INT(32) Z^HOMETERM^NAME;
INT(32) Z^HOMETERM^NAME^LEN;
INT(32) Z^DEFINES^NAME;
INT(32) Z^DEFINES^NAME^LEN;
INT(32) Z^NOWAIT^TAG;
INT(32) Z^PFS^SIZE;
INT(32) Z^MAINSTACK^MAX;
INT(32) Z^HEAP^MAX;
INT(32) Z^SPACE^GUARANTEE;
INT(32) Z^CREATE^OPTIONS;
INT Z^NAME^OPTIONS;
INT Z^DEBUG^OPTIONS;
INT Z^PRIORITY;
INT Z^CPU;
INT Z^MEMORY^PAGES;
INT Z^JOBID;
INT END_NOV95[0:-1];!used only to determine length
END;
For 32-bit callers param-list specifies the address of the SYS^DDL^PLAUNCH^PARMS structure
that contains all of the input fields for this procedure. For 64-bit callers param-list specifies the
address of the ZSYS^DDL^PLAUNCH^PARMS64 structure that contains all the input fields for this
procedure.
For TAL programs, these default values, defined in the P_L_DEFAULT_PARMS_ define in the
SYSTEM.DLAUNCH file, must be specified when an option is not wanted:
Default ValueField Name
1Z^VERSION
$OFFSET(PROCESS_LAUNCH_PARMS_.END_NOV95)Z^LENGTH
%HFFFC0000%DZ^PROGRAM^NAME
0DZ^PROGRAM^NAME^LEN
%HFFFC0000%DZ^LIBRARY^NAME
0DZ^LIBRARY^NAME^LEN
1052 Guardian Procedure Calls (P)