Contents SAS/IntrNet 8.2: Application Dispatcher Previous Next

APPSRV_UNSAFE


Returns the character value of a PROC APPSRV parameter setting

Syntax
Arguments
Details
Examples


Syntax

VALUE = APPSRV_UNSAFE( valuecode )


Arguments

valuecode
is the name of an input name/value pair.

Details

The APPSRV_UNSAFE function returns the complete, original value of an input name/value pair. Normally unsafe characters (see the UNSAFE option) are stripped from input values before creating the input macro variables. This is done so that macro variables may be freely used in a application program without any unwanted SAS macro language processing. In some cases, such as processing free-format input text, you may want to retrieve the complete, original value using the APPSRV_UNSAFE function.


Examples

SAS Statements Results
/* In this example assume the recommended UNSAFE
option is specified and the user specified a value 
of "Elwood's Bait & Tackle Shop" in the input HTML
form. */

safename=symget('company');
put safename=;
fullname=appsrv_unsafe('company');
put fullname=;






safename=Elwoods Bait  Tackle Shop

fullname=Elwood's Bait & Tackle Shop


Contents SAS/IntrNet 8.2: Application Dispatcher Previous Next