Problem Note 17862: Percent signs are stripped from the data when generated with ODS MARKUP
When a percent sign is included in the data, this character is stripped
when rendered by the ODS Markup destination. Therefore, any destination
such as such as CSV, HTML, EXCELXP and any other tagset generated will
have this same problem.
If you are using the ODS HTML destination, you can use the ODS HTML3
statement as a workaround to this problem. The data can also be modified
to add an extra percent in front of the current one, or spaces. This may
also remove trailing charater as well.
The example below demonstrates the problem encountered with the embedded
percent character.
data test_percent;
infile datalines;
input txt_col $16.;
datalines;
P%NS_D
P%92345NS_D
P%a92345NS_D
P%b92345NS_D
P%c92345NS_D
P%d92345NS_D
P%2B5NS_D
;
run;
ods listing close;
ods html file="c:\temp.html";
proc print data=test_percent;
run;
ods html close;
Operating System and Release Information
SAS System | Base SAS | Microsoft Windows XP Professional | 9.1 TS1M3 SP3 | 9.2 TS1M0 |
Microsoft Windows NT Workstation | 9.1 TS1M3 SP3 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP3 | 9.2 TS1M0 |
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP3 | 9.2 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP3 | 9.2 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP3 | 9.2 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP3 | 9.2 TS1M0 |
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP3 | 9.2 TS1M0 |
Microsoft Windows 2000 Server | 9.1 TS1M3 SP3 | 9.2 TS1M0 |
z/OS | 9.1 TS1M3 SP3 | 9.2 TS1M0 |
64-bit Enabled Solaris | 9.1 TS1M3 SP3 | 9.2 TS1M0 |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP3 | 9.2 TS1M0 |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP3 | 9.2 TS1M0 |
64-bit Enabled AIX | 9.1 TS1M3 SP3 | 9.2 TS1M0 |
OpenVMS Alpha | 9.1 TS1M3 SP3 | 9.2 TS1M0 |
64-bit Enabled HP-UX | 9.1 TS1M3 SP3 | 9.2 TS1M0 |
HP-UX IPF | 9.1 TS1M3 SP3 | 9.2 TS1M0 |
Linux on Itanium | 9.1 TS1M3 SP3 | 9.2 TS1M0 |
Linux | 9.1 TS1M3 SP3 | 9.2 TS1M0 |
Tru64 UNIX | 9.1 TS1M3 SP3 | 9.2 TS1M0 |
*
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.
Type: | Problem Note |
Priority: | high |
Topic: | SAS Reference ==> ODS (Output Delivery System)
|
Date Modified: | 2008-02-27 15:09:14 |
Date Created: | 2006-06-13 11:16:27 |