Chapter Contents

Previous

Next
SAS/SHARE User's Guide

STRTSRV

Starts a server.


Syntax

The STRTSRV macro invokes the SERVER procedure.

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

The STRTSRV macro generates a LIBNAME statement for each library in the current library table for the server being started (either directly or through an alias) for which either the SLIBREF= or PHYSNAME= parameters to SERVLIB have been specified (see Syntax). Using this mechanism to define a library to the server at start-up automates the change to server start-up when the library is switched to another server.

server-name
specifies the server name. The name can be an alias or an actual serverid.

options
specifies any PROC SERVER statement options that you want to use. Use blank spaces to separate options. For details 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.

Additionally, the STRTSRV macro generates a LIBNAME statement for each library that is listed in the current library-alias table for the server being started.

%strtsrv(serv1,msgn noalloc,myuserpw,myoperpw);


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.