SAS 9.1.3 Integration Technologies » Developer's Guide


SAS Stored Processes
Software Requirements
Creating Stored Processes
Input Parameters
Result Types
%STPBEGIN and %STPEND
Reserved Macro Variables
Stored Process Server Functions
Sessions
Samples
Debugging
Converting SAS/IntrNet Programs
Using Stored Processes
Building a Web Application
SAS Stored Process Web Application
Configuration
Input
HTTP Headers
Embedding Graphics
Chaining Stored Processes
Using Sessions
Debugging
IOM Direct Interface Stored Processes
SAS Stored Processes

STPSRVGETN


Returns the numeric value of a server property

Syntax
Arguments
Details
Examples


Syntax

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.


Arguments

valuecode
is the character string name of the property.

Details

The STPSRVGETN function takes one character string property and returns a numeric string result.


Examples

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