The following ODS ESCAPECHAR functions appear to be missing when you view output from a monitor screen when ODS TAGSETS.RTF is used:
The page values produced from the above ODS ESCAPECHAR functions will populate when viewed through a Print Preview screen or on printed output. There is not a way to force the page values to populate when viewing output from a screen.
Additionally, when you use ODS ESCAPECHAR='\', the \{PAGEOF} function will not resolve. The ODS ESCAPECHAR will need to be changed to another valid value.
When you use the REPORT procedure and ODS TAGSETS.RTF, the UNIFORM option on the ODS TAGSETS.RTF statement might need to be added when requesting the above ODS ESCAPECHAR functions in a LINE statement in a COMPUTE BEFORE _PAGE_ or a COMPUTE AFTER _PAGE_ block. The resulting page values will populate only when viewed as printed output.
See the code on the Full Code tab for an example of PROC REPORT with a LINE statement containing ODS ESCAPECHAR functions and the UNIFORM option on the ODS TAGSETS.RTF statement.
Product Family | Product | System | SAS Release | |
Reported | Fixed* | |||
SAS System | N/A | z/OS | 9.2 TS1M0 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS1M0 | |||
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS1M0 | |||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS1M0 | |||
Microsoft Windows XP 64-bit Edition | 9.2 TS1M0 | |||
Microsoft® Windows® for x64 | 9.2 TS1M0 | |||
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS1M0 | |||
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS1M0 | |||
Microsoft Windows Server 2003 Standard Edition | 9.2 TS1M0 | |||
Microsoft Windows XP Professional | 9.2 TS1M0 | |||
Windows Vista | 9.2 TS1M0 | |||
64-bit Enabled AIX | 9.2 TS1M0 | |||
64-bit Enabled HP-UX | 9.2 TS1M0 | |||
64-bit Enabled Solaris | 9.2 TS1M0 | |||
HP-UX IPF | 9.2 TS1M0 | |||
Linux | 9.2 TS1M0 | |||
Linux for x64 | 9.2 TS1M0 | |||
OpenVMS on HP Integrity | 9.2 TS1M0 | |||
Solaris for x64 | 9.2 TS1M0 |
data example;
set sashelp.class;
do i=1 to 5;
output;
end;
run;
ods escapechar='^';
ods tagsets.rtf file='myrtf.rtf' uniform;
proc report nowd data=example;
col i name age sex height weight;
define i / order;
compute after _page_;
line ' compute after Page ^{thispage} of ^{lastpage} or ^{pageof}';
endcomp;
footnote 'footnote Page ^{thispage} of ^{lastpage} or ^{pageof}';
run;
ods tagsets.rtf close;
Type: | Problem Note |
Priority: | medium |
Topic: | SAS Reference ==> Procedures ==> REPORT SAS Reference ==> ODS (Output Delivery System) |
Date Modified: | 2010-08-12 14:41:44 |
Date Created: | 2010-05-27 15:44:06 |