| 
 SAS Stored Processes 
 
STPSRVGETN
 
Returns the numeric value of a server property 
Syntax 
Arguments 
Details 
Examples 
  
VALUE = STPSRVGETN( valuecode ) 
Note:  The APPSRVGETN function can be used in place of STPSRVGETN.  This feature is provided in order to enable you to convert existing SAS/IntrNet programs to stored processes. 
 
- valuecode
 
- is the character string name of the property.
 
 
 
The STPSRVGETN function takes one character string property and returns a numeric string result. 
 
 
  | SAS Statements | 
  Results | 
 
 
 
 
dsesstimeout=stpsrvgetn('default 
   session timeout');
put dsesstimeout=;
 | 
  
dsesstimeout=900 
 | 
  
 
 
 
sessmaxtimeout=stpsrvgetn('maximum 
   session timeout');
put sessmaxtimeout=;
 | 
  
sessmaxtimeout=3600 
 | 
 
 
 
 
 
session=stpsrvgetn('session 
   timeout');
put session=;
 | 
  
session=900 
 | 
 
 
 
maxconreqs=stpsrvgetn('maximum 
   concurrent requests');
put maxconreqs=;
 | 
  
maxconreqs=1 
 | 
 
 
 
deflrecl=stpsrvgetn('default 
   output lrecl');
put deflrecl=;
 | 
  
deflrecl=65535 
 | 
 
  
version=stpsrvgetn('version');
put version=;
 | 
version=9.1 
 | 
 
 
           |