SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 20666: The CONTENTS=YES option in the ODS PDF statement generates errors or incorrect output

DetailsHotfixAboutRate It

When the CONTENTS=YES option is used in the ODS PDF FILE= statement in SAS® 9.4, an image might be displayed in the table of contents. The image might be generated by:

  • A SAS/GRAPH® procedure
  • An ODS Graphics procedure
  • Any of the BACKGROUNDIMAGE, PREIMAGE, or POSTIMAGE style attributes

To circumvent the problem, remove the CONTENTS=YES option.

In SAS® 9.3 and earlier, one the following error messages might be generated by the conditions described above:

  • ERROR:  An exception has been encountered.
    
  • ERROR: Out of memory.
    ERROR: Internal error on replay for "page i of n" processing.  Could
           be caused by out of memory, out of disk space, or internal coding
           error.  Check for other error messages above indicating probable user
           error or resource constraints; if there are none, or if they make no
           sense, please report this message and provide a test program to
           SAS Institute.
    

Alternatively, the PDF file might be created. However, the graphs will be missing.

To circumvent the problem in all SAS releases, remove the CONTENTS=YES option from the ODS PDF statement.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASMicrosoft Windows 2000 Advanced Server9.1 TS1M3 SP4
Windows Vista9.1 TS1M3 SP4
Microsoft Windows NT Workstation9.1 TS1M3 SP4
Microsoft Windows XP Professional9.1 TS1M3 SP4
Microsoft Windows Server 2003 Standard Edition9.1 TS1M3 SP4
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M3 SP4
Microsoft Windows XP 64-bit Edition9.1 TS1M3 SP4
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M3 SP4
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M3 SP4
Microsoft Windows 2000 Professional9.1 TS1M3 SP4
Microsoft Windows 2000 Server9.1 TS1M3 SP4
Microsoft Windows 2000 Datacenter Server9.1 TS1M3 SP4
Solaris for x649.1 TS1M3 SP49.4 TS1M5
64-bit Enabled Solaris9.1 TS1M3 SP49.4 TS1M5
z/OS9.1 TS1M3 SP49.4 TS1M5
Linux9.1 TS1M3 SP49.4 TS1M5
Linux on Itanium9.1 TS1M3 SP49.4 TS1M5
64-bit Enabled HP-UX9.1 TS1M3 SP49.4 TS1M5
HP-UX IPF9.1 TS1M3 SP49.4 TS1M5
64-bit Enabled AIX9.1 TS1M3 SP49.4 TS1M5
OpenVMS Alpha9.1 TS1M3 SP49.4 TS1M5
Tru64 UNIX9.1 TS1M3 SP49.4 TS1M5
* 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.