Problem Note 41684: RTF output appears truncated when a very long text string spans multiple pages
If the text within a single cell spans more than one RTF page, the output will appear truncated when the RTF file is opened in Microsoft Word. Examining the RTF file through a text editor shows that the text is contained in the file in its entirety, but Microsoft Word displays only the first page of the cell.
In SAS® 9.4M4 (TS1M4), the NOTRKEEP option in the ODS RTF statement will prevent the problem.
To circumvent the problem prior to SAS 9.4M4, do one of the following:
- Use the MSOFFICE2K tagset to create the RTF output as illustrated below.
ods tagsets.msoffice2k file="file.rtf"; /* Place the code to create the table here */ ods tagsets.msoffice2k close;
- Use the DATA step to make multiple observations out of the long text string's value as demonstrated in Sample 24672.
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.1 TS1M3 SP4 | 9.4 TS1M4 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | |
Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | |
Windows Vista | 9.1 TS1M3 SP4 | |
Windows Vista for x64 | 9.1 TS1M3 SP4 | |
64-bit Enabled AIX | 9.1 TS1M3 SP4 | 9.4 TS1M4 |
64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | 9.4 TS1M4 |
64-bit Enabled Solaris | 9.1 TS1M3 SP4 | 9.4 TS1M4 |
HP-UX IPF | 9.1 TS1M3 SP4 | 9.4 TS1M4 |
Linux | 9.1 TS1M3 SP4 | 9.4 TS1M4 |
Linux on Itanium | 9.1 TS1M3 SP4 | 9.4 TS1M4 |
OpenVMS Alpha | 9.1 TS1M3 SP4 | 9.4 TS1M4 |
Solaris for x64 | 9.1 TS1M3 SP4 | 9.4 TS1M4 |
Tru64 UNIX | 9.1 TS1M3 SP4 | 9.4 TS1M4 |
*
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.
Output created by ODS RTF appears truncated when a very long text string spans multiple pages.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2011-01-04 15:24:16 |
Date Created: | 2010-11-24 14:53:56 |