Previous Page | Next Page

Writing a Stored Process

STPSRVGETC Function



Returns the character value of a server property
Category: Character

Syntax
Arguments
Details
Examples

Syntax

STPSRVGETC(valuecode)

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.  [cautionend]


Arguments

valuecode

is the character string name of the property.


Details

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


Examples

SAS Statements Results
sencoding=stpsrvgetc('Default 
 Output Encoding');
put sencoding=;
sencoding=WLATIN1
version=stpsrvgetc('version');
put version=;
version=SAS Stored Processes 
Version 9.2 (Build 150)

Previous Page | Next Page | Top of Page