MPE/iX Intrinsics Reference Manual (32650-90905)
Chapter 4 83
Command Definitions (ABORTSESS - FCLOSE)
CREATEPROCESS
CREATEPROCESS
NM and CM callable (differences noted below).
Creates a process and allows you to assign $STDIN and $STDLIST to any file. Process
handling (PH) capability is required.
Syntax
I* I16 CA
CREATEPROCESS(
createstatus,pin,formaldesig,
I*A I*A
itemnums,items
);
Parameters
createstatus
(NM) 32-bit signed integer by reference (required)
(CM) 16-bit signed integer by reference (required)
Returns a value indicating the type of success or failure. A negative value
indicates that the associated message is a warning, an error terminates
the intrinsic call, and a warning means the call continues. Check the job
control word (JCW) before continuing. The following is a list of the possible
values returned:
VaIue Meaning
0
Successful
1 Process handling (PH) capability required
2
Pin
or
formaldesig
parameter missing; or one of
itemnum
pair is
missing (for example, 11 and 12 or 19 and 24)
3 Parameter address (other than
createstatus
) out of bounds
4 Out of system resources
5 Process not created; invalid
itemnum
specified; or, for a compatibility mode
process, total requested stack space exceeds maximum configured.
6 Process not created;
formaldesig
does not exist
7 Process not created;
formaldesig
invalid
8 Process not created; entry name invalid or does not exist
-9 Process created; LIBSEARCH bits ignored
-10 Process created;
itemnum
=19 ignored
15 Process not created; reserved
item
was specified
16 Process not created; hard load error occurred (for example, I/O error
reading
formaldesig
)