FORTRAN Reference Manual

Utility Routines
FORTRAN Reference Manual528615-001
15-34
CREATEPROCESS Routine
processor
is an integer expression that specifies the processor (0 to 15) in which to run the
new process. If processor is negative, the new process executes in the same
processor as the creator process.
memory
is an integer expression that specifies how many memory pages to allocate for the
new process. If memory is zero, the number of memory pages in the new process
is the value specified in the program file from which the new process is created.
processid
is an INTEGER*2 array with at least four elements that contains the process
identification of the new process.
Considerations
Values returned by CREATEPROCESS
Option values for CREATEPROCESS
Normally, if a class one error (undefined externals) occurs while FORTRAN
attempts to create the new process, the new process is stopped. An application
can force creation of the new process by adding 8 to the normal option value (8
Return Value Meaning
0 Successful creation.
1 Required parameter is missing or illegal.
2 Illegal program file name.
3 Input file name, output file name, or default volume name
cannot be converted to network form.
10–255 Guardian file-system error.
256– NEWPROCESS error.
Option Value Meaning
0 Sends copies of all saved ASSIGN, PARAM, and startup messages
from the creator process. If no saved startup message exists, a
standard message is sent which specifies that the volume and
subvolume, IN-file, and OUT-file are those of the creator process
and the message parameter string is a null string.
1 Sends a copy of the saved startup message from the creator
process. If no saved startup message exists, a standard message is
sent as described above.
2 Sends a standard startup message.
3 Sends no messages; the new process is not opened by the creator
process.