SAS/IntrNet 9.2: Application Dispatcher |
Returns the character value of a PROC APPSRV parameter setting
Syntax
Arguments
Details
Examples
VALUE = APPSRV_UNSAFE( valuecode )
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.
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 |
Copyright © 2007 by SAS Institute Inc., Cary, NC, USA. All rights reserved.