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
SAS Super FREQ
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;

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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