Problem Note 10411: Customized template may cause observations to not appear in ODS PRINTER
output
If PROC TEMPLATE code like the following is used to create a customized
style, the output from a PROC REPORT generated by ODS PRINTER (PCL, PS,
PDF) will not display the first and last observations.
The commented code shows 4 workarounds labelled W1-W4.
proc template;
define style teststyle;
parent=styles.printer;
style fonts /
"tablefont" =("arial", 8pt, bold) /* W1: 8pt -> 11pt */
"normalfont"=("arial", 7pt, bold);
style Table /
font=fonts("tablefont")
cellpadding = 0pt /* W2: 0pt -> 1pt */
cellspacing = 0pt
borderwidth = 0pt;
style Data /
font=fonts("normalfont")
vjust=m /* W3: t or b */
/* W4: cellheight=10pt */
;
end;
run;
ods pdf file="file.pdf" style=teststyle;
proc report nowd data=sashelp.class;
column name age sex weight height;
run;
ods _all_ close;
A Technical Support hot fix for Release 8.2 (TS2M0) for this
issue is available at:
http://www.sas.com/techsup/download/hotfix/82_sbcs_prod_list.html#010411
Operating System and Release Information
| SAS System | Base SAS | Microsoft Windows XP Professional | 8.2 TS2M0 | 9.1 |
| Microsoft Windows 95/98 | 8.2 TS2M0 | |
| Microsoft Windows NT Workstation | 8.2 TS2M0 | 9.1 |
| Windows Millennium Edition (Me) | 8.2 TS2M0 | 9.1 |
| Microsoft Windows Server 2003 Standard Edition | 8.2 TS2M0 | 9.1 |
| Microsoft Windows Server 2003 Enterprise Edition | 8.2 TS2M0 | 9.1 |
| Microsoft Windows 2000 Server | 8.2 TS2M0 | 9.1 |
| Microsoft Windows Server 2003 Datacenter Edition | 8.2 TS2M0 | 9.1 |
| Microsoft Windows 2000 Datacenter Server | 8.2 TS2M0 | 9.1 |
| Microsoft Windows 2000 Professional | 8.2 TS2M0 | 9.1 |
| Microsoft Windows 2000 Advanced Server | 8.2 TS2M0 | 9.1 |
| 64-bit Enabled Solaris | 8.2 TS2M0 | 9.1 |
| Solaris | 8.2 TS2M0 | 9.1 |
| OpenVMS VAX | 8.2 TS2M0 | 9.1 |
| OS/2 | 8.2 TS2M0 | 9.1 |
| IRIX | 8.2 TS2M0 | 9.1 |
| Linux | 8.2 TS2M0 | 9.1 |
| z/OS | 8.2 TS2M0 | 9.1 |
| ABI+ for Intel Architecture | 8.2 TS2M0 | 9.1 |
| HP-UX | 8.2 TS2M0 | 9.1 |
| 64-bit Enabled HP-UX | 8.2 TS2M0 | 9.1 |
| CMS | 8.2 TS2M0 | |
| OpenVMS Alpha | 8.2 TS2M0 | 9.1 |
| 64-bit Enabled AIX | 8.2 TS2M0 | |
| Tru64 UNIX | 8.2 TS2M0 | 9.1 |
| AIX | 8.2 TS2M0 | |
*
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: | alert |
| Topic: | SAS Reference ==> ODS (Output Delivery System)
|
| Date Modified: | 2003-09-03 13:13:32 |
| Date Created: | 2003-07-15 10:38:29 |