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

STPSRVGETC


Returns the character value of a server property

Syntax
Arguments
Details
Examples


Syntax

VALUE = STPSRVGETC( valuecode )

Note: The APPSRVGETC function can be used in place of STPSRVGETC. 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 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.1 (Build 18)