BookmarkSubscribeRSS Feed
AJCFreeman
Fluorite | Level 6

Hi, I am creating a PDF file with charts. One of the pages is a proc report. the table is not displaying because I think it is longer than one page. That's just a guess. so it displays the title of that page and that's all, it moves to the next page. The next page is displaying the charts correctly.

 

Any idea of what I cand o to make this table display?

1 REPLY 1
Cynthia_sas
Diamond | Level 26
Hi:
Are you using ODS TEXT= and/or STARTPAGE=NO or STARTPAGE=NEVER? Without seeing your code and some sample data, no one can even try to replicate your issue. There was a Tech Support note from a few years back that you would not get an image if you were using {THISPAGE} and {LASTPAGE} with images and ODS PDF, but not getting a TABLE is strange. Generally, SAS starts the table on the page with the title unless your code is doing something strange. If I use PROC REPORT with ODS PDF and the table is longer than 1 page, the table just continues to the next page(s).

cynthia

**For example, this code generates a 4 page output;
ods pdf file='c:\temp\doshoes.pdf' ;
proc report data=sashelp.shoes;
title 'SASHELP.SHOES -- more than 1 page';
where region in ('Asia', 'Pacific', 'Western Europe');
run;
ods pdf close;

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1223 views
  • 0 likes
  • 2 in conversation