ProvideX V8.20 > Language Reference > 2. Directives
256
PROCESS SERVER Directive
           Establish Remote Server
Formats
1. Identify Remote Server: PROCESS SERVER "server" ON "address"
PROCESS SERVER "server" CLOSE
2. Terminate Remote Server:
Where:
address
TCP address and services identifier for the server; e.g.,
"[tcp]192.1.1.100;15000". Alternatives to the TCP address
are explained below.
server
Name to be associated with a program server. Length: from 1 to 12
characters; e.g., "INVENTORY".
Description
The PROCESS SERVER directive is used to identify a remote program server to a
CALLing application. If desired, "address" can be set to "LOCAL" which results in any
RPC call to this server simply becoming a local CALL directive. Alternatively, the
address can specify a pipe on UNIX, or a DLL on Windows. To terminate the remote
server connection, use the CLOSE keyword.
Format 1: Identify Remote Server
PROCESS SERVER "server" ON "address"
Establishes the remote server with a logical name (between 1 and 12 characters in
length). The server address may take one of several forms, depending on the
circumstances; e.g.,
PROCESS SERVER "Inventory" ON "[tcp]192.1.1.100;15000"
TCP address and port/service identifier for the server.
PROCESS SERVER "Inventory" ON "LOCAL"
LOCAL keyword results in any CALL to this server becoming local.
PROCESS SERVER "Inventory" ON "|/u/sys001/inventory"
Pathname of | pipe server instead of TCP address (UNIX/Linux only).
PROCESS SERVER "Inventory" ON "[DLL]C:\Program
Files\Application\server.dll;Entry"
Pathname DLL and entry point instead of TCP address (Windows only).
Format 2: Terminate Remote Server
PROCESS SERVER "server" CLOSE
Terminates the remote server connection identified by the name "server"; e.g.,
PROCESS SERVER "Inventory" CLOSE
See Also
[RPC] Remote Process Control, p.793,
Remote Process Capability Technical Overview.