space
Previous Page | Next Page

SAS/IntrNet 9.2: Application Dispatcher

PROGLIBS Statement


Declares which libraries, catalogs, and filerefs contain programs that can be run on an Application Server


Syntax

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


When a request is received by the Application Server, the PROGLIBS list is scanned for a match on the first one or two levels in the program name that is supplied in the special request variable _PROGRAM. If a match is found, then the program is executed.

Arguments

libref-1
specifies a library that contains one or more catalogs that contain programs that can be run by the Application Server. Programs must be SCL, SOURCE, or MACRO catalog entries.

libref-1.catalog-1
specifies a catalog that contains SCL, SOURCE, and MACRO programs that can be run by the Application Server. If a libref is listed as a data library and a program library, then the library is both globally available and can contain programs. If you want to enable programs from one catalog in a specified library to be executed without enabling everything in the library to be executed, then list just that catalog in a two-level name like this:
   PROGLIBS MYLIB.MYCAT . . .;

Listing both the library and a specific catalog within that library is redundant. For example:

   PROGLIBS MYLIB MYLIB.MYCAT . . .;

enables all programs in MYLIB to run.

fileref-1
specifies a fileref that corresponds to a host directory or a PDS that contains SAS programs that can be executed by the Application Server.

...libref-n | libref-n.catalog-n | fileref-n
specifies that you can list multiple librefs, catalogs, and filerefs for this statement.

Previous Page | Next Page | Top of Page