MPE/iX Intrinsics Reference Manual (32650-90875)

Chapter 4 85
Command Definitions (ABORTSESS - FCLOSE)
CREATEPROCESS
3 The load options for loading the program file of the new process,
designated as:
(NM)
Bits (0:16) Zeros
Bits (16:16) Load options
(CM)
Bits (0:16) Load options
Item 3 has the same definition as the
loadflag
parameter of the CREATE
intrinsic. If both
itemnum
s 3 and 19 are specified, the LIBSEARCH option
is ignored or if LIBSEARCH is set to a value other than its default (00), a
warning is returned indicating the LIBSEARCH option was ignored.
4,5,6 (CM Only) Ignored if
formaldesig
specifies an NM program file; created
using MPE V/E maximum default values (equivalent to the STACK=, DL=,
and MAXDATA= parameters of the RUN command).
7 The priority class where the new process is scheduled (AS, BS, CS, DS,
ES); is computed as (equivalent to the PRI= parameter of the RUN
command.):
(ASCII of first character 256) + (ASCII of second
character)
The integer equivalents are:
AS = 16,723
BS = 16,979
CS = 17,235
DS = 17,491
ES = 17,747
If in user mode (nonprivileged), any priority class can be specified
except AS; this is limited by the maximum priority assigned to the
account by the system manager. If PM capability has been assigned,
processes can be scheduled into all subqueues. A process in the linear
queue AS or BS does not give up the CPU voluntarily, it could loop
infinitely and prevent other processes from accessing the CPU.
Default: The calling process priority class.
8 The address must be a byte address (type-coerced) containing a definition
of the file to be used as $STDIN for the new process (equivalent to the
STDIN= parameter of the RUN command). Must contain an ASCII string
(terminated by a carriage return) specifying the file to be used as $STDIN
(that is, everything after the FILE
formaldesig=
; portion of the file
equation). If
itemnum
=8 is not specified, the default $STDIN and
$STDLIST (current for the creating (parent) process) are used for the new
process creation.
9 The address must be a byte address (type-coerced) containing a definition
of the file to be used as $STDLIST for the new process (equivalent to the
STDLIST= parameter of the RUN command). If
itemnum=9
is not specified,
the default $STDIN and $STDLIST (current for the creating (parent)
process) are used for the new process creation.
10 Specifying this item is equivalent to calling the ACTIVATE intrinsic with
the newly created process. The value passed is equivalent to the
allow