SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 18866: Filtering on character variables with the $char format and informat may result in incorrect results

DetailsHotfixAboutRate It

Having variables in a datase that utilize the $char format and informat causes the Filter wizard to generate incorrect clauses.

If the variable has both $char informat and format and you type a value in the wizard (basic screen), the where clause will pad the value with spaces.

Example:

char1 contains '1234 '

If the variable has only the format, either selecting a value from the pulldown or typing a value manually will result in the clause having a blank value.

Example:

char1 contains ''

To workaround the problem, use the Advanced Edit in the Filter wizard to type in the correct clause.

Select the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Add-in for Microsoft OfficeMicrosoft Windows NT Workstation2.14.29.1 TS1M3 SP1
Microsoft Windows XP Professional2.14.29.1 TS1M3 SP1
Microsoft Windows Server 2003 Standard Edition2.14.29.1 TS1M3 SP1
Microsoft Windows Server 2003 Datacenter Edition2.14.29.1 TS1M3 SP1
Microsoft Windows Server 2003 Enterprise Edition2.14.29.1 TS1M3 SP1
Microsoft Windows 2000 Server2.14.29.1 TS1M3 SP1
Microsoft Windows 2000 Advanced Server2.14.29.1 TS1M3 SP1
Microsoft Windows 2000 Datacenter Server2.14.29.1 TS1M3 SP1
Microsoft Windows 2000 Professional2.14.29.1 TS1M3 SP1
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.