APPSRV_AUTHDS Function

Enables the user to change the AUTHLIB data set name

Syntax

RC = APPSRV_AUTHDS( dataset )

Required Argument

dataset
is a character string that is the SAS data set name.

Details

The APPSRV_AUTHDS function enables the user to change the AUTHLIB data set name. The AUTHLIB data set is the table that is examined by the APPSRV_AUTHLIB and APPSRV_AUTHCLS functions. By default, these functions operate on the data set SASHELP.AUTHLIB. Calling the APPSRV_AUTHDS function causes subsequent calls to these functions to use the same data set name. In an Application Server environment, the effect of calling APPSRV_AUTHDS lasts for the duration of the request. To change the AUTHLIB data set name for all requests, call the APPSRV_AUTHDS function in the program that is specified by the INIT argument of the REQUEST statement. The function returns 1 if successful and 0 if unsuccessful.

Example: Examples

Sample Statements and Results
SAS Statements
Results
rc=appsrv_authds('MYLIB.MYAUTH');
put rc=;
rc=1