APPSRV_UNSAFE Function

Returns the character value of a PROC APPSRV parameter setting

Syntax

VALUE = APPSRV_UNSAFE( valuecode )

Required Argument

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.

Example: Examples

Sample Statements and Results
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