By default, the PROC SQL code generated for SAS Web Report Studio inserts the STRIP function to remove leading and trailing blanks on character fields on a filter expression. This default behavior can affect performance when the underlying database is not SAS, and it can have an impact on filter results. Specifically, if the filter depends on the blanks being preserved, then the STRIP function might return incorrect results. For the previous two reasons, removing the STRIP function might be the best choice.
On the other hand, if your filter only works with blanks removed, then you should leave the STRIP function set to the default.
To disable the STRIP function, perform the following steps, depending on which version of SAS Web Report Studio you are running:
webreportstudio.strip.based.filtering.strategy
Note: Removing the STRIP function might cause some filter information to display incorrectly. Specifically, in the Applied Filters text, a filter defined for a table or graph might appear as DataItemFormattingExpression(<<TABLE_DATA_11162011145934663.DIR_2>>, 'unformatted', 'charNotFormattedWhenNoFormat') equal to CANADA, GERMANY, U.S.A.
instead of as (Country equal to CANADA, GERMANY, U.S.A.)
Note: The change is made in the LocalProperties.xml file. If you do not have a LocalProperties.xml file, see SAS Note 32858.
<webreportstudio.strip.based.filtering.strategy>
0
</webreportstudio.strip.based.filtering.strategy>
|
The valid options for this property are:
The STRIP function is applied when you create the filter. The information about the filter including the STRIP function is stored in the report definition (XML). So, existing filters are not affected by disabling the STRIP function. To disable the STRIP function for existing filters, open the filter dialog box and click OK. This action resaves the filter with the STRIP function disabled.
To verify that the STRIP function is no longer being used, perform the following steps.
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | SAS Web Report Studio | Microsoft Windows XP Professional | 3.1 | 9.1 TS1M3 SP4 | ||
Microsoft Windows NT Workstation | 3.1 | 9.1 TS1M3 SP4 | ||||
Microsoft Windows Server 2003 Datacenter Edition | 3.1 | 9.1 TS1M3 SP4 | ||||
Microsoft Windows Server 2003 Enterprise Edition | 3.1 | 9.1 TS1M3 SP4 | ||||
Microsoft Windows Server 2003 Standard Edition | 3.1 | 9.1 TS1M3 SP4 | ||||
Microsoft Windows 2000 Professional | 3.1 | 9.1 TS1M3 SP4 | ||||
Microsoft Windows 2000 Datacenter Server | 3.1 | 9.1 TS1M3 SP4 | ||||
Microsoft Windows 2000 Advanced Server | 3.1 | 9.1 TS1M3 SP4 | ||||
64-bit Enabled Solaris | 3.1 | 9.1 TS1M3 SP4 | ||||
64-bit Enabled HP-UX | 3.1 | 9.1 TS1M3 SP4 | ||||
Solaris | 3.1 | 9.1 TS1M3 SP4 | ||||
HP-UX | 3.1 | 9.1 TS1M3 SP4 | ||||
Microsoft Windows 2000 Server | 3.1 | 9.1 TS1M3 SP4 | ||||
64-bit Enabled AIX | 3.1 | 9.1 TS1M3 SP4 | ||||
AIX | 3.1 | 9.1 TS1M3 SP4 |
Type: | Usage Note |
Priority: | medium |
Topic: | Query and Reporting ==> Interactive Querying SAS Reference ==> SQL |
Date Modified: | 2008-08-04 12:22:06 |
Date Created: | 2006-09-08 08:56:20 |