Previous Page | Next Page

Writing a Stored Process

STPSRVGETN Function



Returns the numeric value of a server property
Category: Numeric

Syntax
Arguments
Details
Examples

Syntax

STPSRVGETN(valuecode)

Note:   

The APPSRVGETN function can be used instead of STPSRVGETN. This feature is provided in order to enable you to convert existing SAS/IntrNet programs to stored processes.  [cautionend]


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.2

Previous Page | Next Page | Top of Page