STPSRVGETC Function

Returns the character value of a server property.

Category:Character

Syntax

STPSRVGETC(valuecode)

Required Argument

valuecode

is the character string name of the property.

Details

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

Note: The APPSRVGETC function can be used instead of STPSRVGETC. This feature is provided in order to enable you to convert existing SAS/IntrNet programs to stored processes.

Example

Sample Statements and Results

SAS Statements

Results

sencoding=stpsrvgetc('Default
 Output Encoding');
put sencoding=;
sencoding=WLATIN1
version=stpsrvgetc('version');
put version=;
version=SAS Stored
Processes 
Version 9.4 (Build 330)
Last updated: January 9, 2026