Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (N)
Guardian Procedure Calls Reference Manual—522629-013
10-6
NEWPROCESS Procedure
(Superseded by PROCESS_LAUNCH_ Procedure )
process-name must be preceded by a dollar sign (“$”) and consists of a
maximum of five alphanumeric characters; the first character must be alphabetic.
(If the process is created on a remote system and it is necessary to be able to
access the process, its name should consist of, at most, four characters and the
“$”; this leaves a byte for the system to insert the node number.) Note that
$process-name is the first 3 words of the 4-word process ID.
If
name is not supplied, the process ID of the new process is of the unnamed form,
containing a timestamp in words [0:2] instead of
$process-name, with the
cpu,pin of the new process in the fourth word. The process-name will not be
entered into the DCT.
hometerm input
INT:ref:12
is the internal-format file name of the home terminal for the new process. The
specified value must designate a terminal or a process. The default is the home
terminal of the caller.
flags input
INT:value
flags.<10:12> are used to supply the DEFINE mode for the new process:
flags.<10> 0 Use the DEFINE mode of caller
1 Use value in
flags.<12>
flags.<12>
0 DEFINEs disabled
1 DEFINEs enabled
flags.<14:15> set the debugging attributes for the new process:
flags.<14> 1 Saveabend file creation
0 No saveabend file creation
flags.<15> 1 INSPECT
0DEBUG
When
flags is specified, bits <14> and <15> are ORed with the corresponding
flags in the object code file. If
flags.<14> is set but flags.<15> is not, then
flags.<15> is also set.
If
flags is omitted, then the defaults are set from the flags in the object code file
(set by compiler directives at compile time, after the object flags are ORed with the
caller’s debugging attributes).