The FILESRV program is used to serve a wide variety of external files and catalog entries, including those that are not defined to a Web server. With the FILESRV program, you can control which files to serve and you can also control the HTTP and MIME headers that are served with the file.
Note: The FILESRV program has previously been included only with SAS/IntrNet for use with Application Dispatcher. Beginning with SAS 9.1, the program is available for use with Application Dispatcher applications and SAS Integration Technologies stored processes.
Along with the FILESRV program, you must also have
to determine which files can be served. See our examples of both types of data sets. For a step by step example of how to use the FILESRV program, see FILESRV Example.
The URL must contain the following name/value pairs:
Syntax:
_PROGRAM=SASHELP.WEBPROG.FILESRV.SCL _FILE=name-of-file-being-served
_FILETYP=C | E
_PROGRAM=SASHELP.WEBPROG.FILESRV.SCL
_FILE=name-of-file-being-served
_FILETYP=C | E
E
for an external
file and C
for a catalog entry. The value specified is
not case-sensitive.
Syntax:
%filesrv(file=name-of-file-being-served
, filetyp=C | E
, authdsn=authorization-data-set
, headdsn=HTTP-headers-data-set
);
file=name-of-file-being-served
filetyp=C | E
E
for an external
file and C
for a catalog entry. The value specified is
not case-sensitive.
authdsn=authorization-data-set
headdsn=HTTP-headers-data-set