STRTSRV Macro

Starts a server.
Category: Server

Syntax

%STRTSRV(server-name, <options> , <uapw> , <oapw> );

Syntax Description

server-name
specifies the server name. The name can be an alias or an actual server ID.
options
specifies any PROC SERVER statement options. Use blank spaces to separate options. For information about the PROC SERVER options, see The SERVER Procedure.
uapw
specifies the user-access password.
oapw
specifies the operator-access password to be mapped to the UAPW= and OAPW= options, respectively, in the PROC SERVER statement.

Details

The STRTSRV macro invokes the SERVER procedure. %STRTSRV generates a LIBNAME statement for each library in the current library table for the server that is being started (either directly or through an alias) for which either the SLIBREF= or the PHYSNAME= parameters in %SERVLIB have been specified. For information about %SERVLIB, see SERVLIB Macro. Using %STRTSRV to define a library to the server at start-up automates the change to server start-up when the library is moved to another server.
The STRTSRV macro also generates a LIBNAME statement for each library that is listed in the current library-alias table for the server that is being started.