Sets the value of a server property
STPSRVSET(valuecode, newvalue)
|
Note:
The
APPSRVSET function can be used instead of STPSRVSET. This feature is provided
in order to enable you to convert existing SAS/IntrNet programs to stored
processes. The following Application Dispatcher properties are not supported
by the SAS Stored Process Server: REQUIRE COOKIE, REQUEST TIMEOUT, and AUTOMATIC
HEADERS. ![[cautionend]](../../../../common/62850/HTML/default/images/cautend.gif)
- valuecode
-
is the character string name of the property.
- newvalue
-
is the numeric string name of the property.
The following table lists the valid properties for
valuecode
and provides a description of each.
Valuecode |
Description |
PROGRAM ERROR |
Specifies the return code when there is an error. This can be set to
any value. |
SESSION TIMEOUT |
Specifies the number of seconds that elapse before a session expires.
The default session timeout is 900 (15 minutes). |
The STPSRVSET function takes one character string property
and one numeric string property and returns a numeric string result. The return
code is zero for success, nonzero for failure.
SAS Statements |
rc=stpsrvset('session timeout',900);
|
rc=stpsrvset('program error',256);
|
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.