I am using ODS PDF to capture SGPANEL output. There are too many rows to fit on a single page (15), so I am using ROWS=5 to split the output across 3 pages.
ods pdf file="&path/changes.pdf";
proc sgpanel data=sc00;
panelby function monthyear / columns=3 rows=5 novarname;
series y=ratiofirst x=snapshotdt;
series y=ratioprev x=snapshotdt;
rowaxis display=(nolabel) refticks;
colaxis display=(nolabel) refticks;
run;
ods pdf close;
The first 2 pages of output are fine, but the 3rd page contains only a title.
Then there is a 4th page that has a double-title (one in the image, one above the image).
This is very mysterious! Any help is greatly appreciated. Complete code and output are attached. I am using 9.4m4.
@RW9, thanks for the reply.
>> You need to show the rest of the code, titles and such like.
Complete code was included in the attached ZIP file. I thought it would clutter things if I included the full code in the body. I'll just post full code in the body next time.
I tried NOGTITLE but got the same thing as before.
SOLUTION:
Reducing the HEIGHT from 10.5 to 10.0 seemed to work (with or without NOGTITLE).
You need to show the rest of the code, titles and such like. I would guess that either you have a title statement and an odstext, or a title and a by line or something along those lines. You can tun off byline with:
options nobyline;
Also, maybe check where titles are being stored,:
http://support.sas.com/kb/47/306.html
So maybe:
ods pdf file=".." nogtitle;
Just guessing from what you posted here.
@RW9, thanks for the reply.
>> You need to show the rest of the code, titles and such like.
Complete code was included in the attached ZIP file. I thought it would clutter things if I included the full code in the body. I'll just post full code in the body next time.
I tried NOGTITLE but got the same thing as before.
SOLUTION:
Reducing the HEIGHT from 10.5 to 10.0 seemed to work (with or without NOGTITLE).
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.