Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual—522629-013
12-186
PROCESS_SPAWN_ Procedure
Valid values for Z^DebugOptions are as follows: 
Z^PFSSize 
for RVUs prior to G06.00, specifies the size in bytes of the process file segment 
(PFS) of the new process. In G-series releases, maximum PFS size is 8 MB. In 
H-series releases, maximum PFS size is 32 MB. A value in this range overrides 
the 
nld or Binder value stored in the program file.
If you specify 0, the 
nld or Binder value is used. If the nld or Binder value is to 
be used and it is 0, a default value of 262,144 bytes (256 KB or 2 segments) is 
used in most cases. For SQL programs, a default value of 393,216 bytes (384 KB 
or 3 segments) is used instead.
In the G06.00 and subsequent G-series RVUs, you do not need to specify the PFS 
size of a new process. If you do, the specification is ignored. Instead, all 
processes have PFS size that can grow up to 8 MB.
Name (ZSYS^VAL^ ) Value Description
PCreatOpt^DbgOverrid
e
2
Use debugger and saveabend options 
specified regardless of program-file flag 
settings. Otherwise, use the program-file flag 
settings. Debugger and saveabend options 
are specified by 
ZSYS^VAL^
PCREATOPT^SAVEABEND and 
ZSYS^VAL^
PCREATOPT^RUND described in 
this table.
PCreatOpt^Default 0
The debugger and saveabend default values 
are set from the flags in the program file 
(set 
either by compiler directives at compile 
time, nld flag at link time, or Binder 
command at bind time)
 after these options 
are ORed with the corresponding states of the 
calling process.
PCreatOpt^INSPECT 1 Use the Inspect debugger. Otherwise, use the 
debugger set by the program-file flag settings.
PCreatOpt^RUND 8 Enter Debug or the Inspect debugger at the 
first executable instruction of the program's 
MAIN procedure. If this option is not selected, 
begin normal program execution.
PCreatOpt^SaveAbend 4
If the process traps, create a saveabend file 
and use the Inspect debugger (regardless of 
whether ZSYS^VAL^
PCREATOPT^INSPECT is 
selected). If this option is not selected and the 
process traps, do not create a saveabend file.










