Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual—522629-013
12-187
PROCESS_SPAWN_ Procedure
Z^OSSOptions
The valid value for Z^OSSOPTIONS is as follows:  
Z^MainStackMax
specifies the maximum size, in bytes, of the process main stack. The specified 
size cannot exceed 32 MB.
The default value of 0D indicates that the main stack can grow to 1MB. For most 
processes, the default value is adequate.
Z^HeapMax
for native processes only, specifies the maximum size, in bytes, of the process 
heap. Note that the sum of the size of the heap and the size of global data cannot 
exceed 384 MB. 
The default value of 0D indicates that the heap can grow to the default value of 16 
MB. The initial heap size of a process is zero bytes. For most processes, the 
default value is adequate.
Z^SpaceGuarantee
specifies the minimum size, in bytes, of the amount of space that the process 
reserves with the Kernel-Managed Swap Facility for swapping. For more 
information on this facility, refer to the 
Kernel-Managed Swap Facility (KMSF) 
Manual. The value provided is rounded up to a page size boundary of the 
processor. If the requested amount of space is not available, 
PROCESS_SPAWN_ returns error 55.
When the default value of 0D is used, the amount of space reserved is determined 
by the value specified in the object file for a native process or by the operating 
system for a TNS or accelerated process.
Name (ZSYS^VAL^ ) Value Description
PSpawnOpt^OSSDefault 0 The default value is the only value available.










