Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual522629-013
12-144
PROCESS_LAUNCH_ Procedure
Z^CPU
specifies the processor in which the new process is to run. If you specify -1, the
processor is chosen as follows:
Backup process: determined by system
Other process on local system: same processor as caller
Process on remote system: determined by system
The processor number of the new process can be obtained by passing the
ZSYS^DDL^SMSG^PROCCREATE.Z^PHANDLE field of the output
-list
parameter to the PROCESSHANDLE_DECOMPOSE_ procedure.
Z^MEMORY^PAGES
For TNS processes, specifies the minimum number of 2048-byte memory pages
allotted to the new process for user data. The actual amount of memory allocated
is processor-dependent. If Z^MEMORY^PAGES is either omitted or less than the
value previously assigned either by a compiler directive at compile time or by a
Binder command at bind time, the previously assigned value is used. In any case,
the maximum number of pages permitted is 64.
For native processes, this parameter is ignored. To specify the maximum size of
the main stack, specify the
Z^MAINSTACK^MAX field. Alternatively, use the nld
utility to set the TNS/R process attributes or the
eld utility to set the TNS/E
process attributes.
Z^JOBID
is an integer (job ID) that specifies the job to be created. The new process is the
first process of the job, and the caller is the job ancestor of the new process. This
value is used by the NetBatch scheduler. See “Batch Processing Considerations”
for information about how to use this parameter.
The default value of -1 indicates that the new process is a member of the same
batch job as the creator. If the creator is not part of a batch job, then neither is the
new process.