space
Previous Page | Next Page

SAS/IntrNet 9.2: Application Dispatcher

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 can be freely used in an application program without any unwanted SAS macro language processing. In some cases, such as processing free-format input text, you might 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

Previous Page | Next Page | Top of Page