MPE/iX Intrinsics Reference Manual (32650-90875)
Chapter 4 81
Command Definitions (ABORTSESS - FCLOSE)
CREATE
CPU voluntarily; it could loop infinitely and prevent other processes from
accessing the CPU. (Equivalent to the PRI= parameter of the RUN
command.)
Default: The calling process priority.
rank
16-bit signed integer by value (optional)
For backward-compatibility with MPE V/E-based systems only.
Operation Notes
The CREATE intrinsic does the following:
1. Loads the program to be run by the new process into virtual memory.
2. Creates the process as the child of the calling process.
3. Initializes the process data areas.
4. Schedules the process.
5. Returns the new process identification number (PIN) to the requesting process.
The process is not created and the
pin
parameter is returned with a value of zero if one of
the following conditions exist:
• The value (a nonexistent subqueue) specified is illegal for the
priorityclass
parameter.
• The
formaldesig
is illegal.
• The
entryname
is illegal.
• The program specified by
formaldesig
contains more capabilities than allowed. PM,
MR, or DS capability is not allowed if the program name uses HFS syntax.
• The program specified by
formaldesig
uses HFS syntax and has PH capability, but
the user does not have PH capability.
• A CM program cannot be loaded from the HFS directory.
The process is not created and the
pin
parameter is returned unmodified if one of the
following conditions exist:
• The program file of the creating process does not have process handling (PH) capability.
• A required parameter (
formaldesig
or
pin
) is omitted.
• A reference parameter is not within the required range.
• The program name is equal to blank spaces.
Condition Codes
CCE (2) Request granted. The new process has been created.
CCG (0) Request granted.
CCL (1) Request denied. The specified
formaldesig
or
entryname
does not exist.