Exchange/RJE Manual
NEWPROCESS Procedure
Exchange/RJE System Procedure Calls
5–18 104698 Tandem Computers Incorporated
NEWPROCESS
Procedure
The NEWPROCESS procedure starts the Exchange/RJE line server.
CALL NEWPROCESS (
filename
, [
priority
]
, [
server-id
]
, [
error
]
,
server-name
);
filename
INT:ref:12 or INT:ref:36
is the internal name of the Exchange/RJE line server program file. The name can
be in the form of an internal file name or an internal network file name. In either
case,
filename
[8:11] must be RJESV, left-justified, and blank-filled on the right.
If you specify a copy of RJESV that resides on another system, the line server is
started on that system.
Use the 36-word form to specify the location of the user library. In this case,
filename
[12:23] is the user library (the LIB option of the RUN command)
specified in internal name format. You must have write access to the line server
object file RJESV if you want the line server to run with a specific user library. In
addition, if RJESV is already open, you must specify the same user library as the
first opener.
If you do not specify the user library, the line server uses the last user library
specified. If a user library has never been specified, the line server uses the default
library RJELIB.
priority
INT:value
If you specify the user library, you must specify this parameter and set
priority.<1>=1. See the Guardian Procedure Calls Reference Manual for more
information.
server-id
INT:ref:12
returns the process ID of the newly started Exchange/RJE line server. Only the
first four words of this array contain the process ID. However, the remaining
eight words are required for this array to be used in subsequent file system calls,
such as a call to OPEN. The remaining eight words must be all blanks.
For the line server in
server-name
, the returned process ID is in the process-
name form. If the line server was started on another system (the program file
resides on another system), the process ID is in the network form.