|
SAS/IntrNet 9.1: Application Dispatcher |
|
Returns the numeric value of a PROC APPSRV parameter setting
Syntax
Arguments
Details
Examples
RC = APPSRVSET( valuecode, newvalue )
The following table lists the valid parameters for valuecode and provides a description of each.
| Valuecode | Description |
|---|---|
| AUTOMATIC HEADERS | specifies whether the APPSRV procedure returns headers. The value must be 0 (disabled) or 1 (enabled). Automatic header generation is enabled by default. |
| PROGRAM ERROR | specifies the return code when there is an error. This can be set to any value. |
| REQUEST TIMEOUT | specifies the number of seconds that a requested program is allowed to run before it is terminated by the server. The default session timeout is 300 (5 minutes). |
| SESSION TIMEOUT | specifies the number of seconds that elapse before a session expires. The default session timeout is 900 (15 minutes). |
The APPSRVSET function takes one character string parameter and one numeric string parameter and returns a numeric string result.
| SAS Statements |
|---|
rc=appsrvset('request timeout',300);
|
rc=appsrvset('session timeout',900);
|
rc=appsrvset('program error',256);
|
/* disable generation of MIME headers */
rc=appsrvset('automatic headers',0);
|
|
SAS/IntrNet 9.1: Application Dispatcher |
|