Contents SAS/IntrNet 9.1: Application Dispatcher Previous Next

The APPSRV Procedure


The APPSRV procedure invokes the Application Server, which is the server component of the SAS/IntrNet: Application Dispatcher. It is recommended that you use the inetcfg utility to set up a new Application Server. This utility creates a standard PROC APPSRV statement with reasonable default options that can be modified to meet your requirements. See the syntax documentation below for more information about these options.


Syntax

PROC APPSRV PORT=n <options>;

ADMINLIBS libref-1 | libref-1.catalog-1 | fileref-1 <...libref-n | libref-n.catalog-n | fileref-n>;

ALLOCATE FILE fileref <device-type> 'directory-or-PDS-path' <host-options>;

ALLOCATE LIBRARY libref <engine> 'SAS-data-library' <options>;

DATALIBS libref-1 | fileref-1 <...libref-n | fileref-n>;

LOG <DISPLAY=NONE | ERRORS | ALL> <SYMBOLS=NONE | ERRORS | ALL> <FILE=fileref> <APPEND | REPLACE>;

PROGLIBS libref-1 | libref-1.catalog-1 | fileref-1 <...libref-n | libref-n.catalog-n | fileref-n>;

REQUEST <INIT=program-name> <TERM=program-name> <LOGIN=program-name> <TIMEOUT=seconds> <MAXTIMEOUT=seconds> <READ=seconds> <FROMADR=("IP-address-1" <..."IP-address-n">)>;

SESSION <INIT=program-name> <INVSESS=program-name> <TERM=program-name> <TIMEOUT=seconds> <MAXTIMEOUT=seconds> <VERIFY=(variable-1 <...variable-n>)>;

STATISTICS CREATE=library.dataset <(data-set-options)>;

STATISTICS DATA=library.dataset <(data-set-options)> <ADDPORT> <EXITONERROR> <TEMPLATE=library.dataset <(data-set-options)>> <WRITECOUNT=n> <WRITEEVERY=n>;

To do this Use this statement
Declare which libraries, filerefs, and catalogs contain programs that can be run by an administrator using the _ADMINPW password ADMINLIBS
Define a file that the Application Server assigns ALLOCATE FILE
Define a library that the Application Server assigns ALLOCATE LIBRARY
Define librefs and filerefs that are available to all programs that are run by the Application Server DATALIBS
Control content and behavior of the Application Server log LOG
Declare which libraries, filerefs, and catalogs contain programs that can be run on the Application Server PROGLIBS
Control how a request is processed by the Application Server REQUEST
Control how a session is administered by the Application Server SESSION
Control writing of request statistics to a data set STATISTICS

Contents SAS/IntrNet 9.1: Application Dispatcher Previous Next