Hello,
I am creating a PDF out of proc compare. The output has an extreme amount of whitespace, such that a completely clean compare takes up an entire page. This doesn't happen in the HTML output or listing output. It almost looks as if the entire thing has been double-spaced. Any ideas how to get rid of this? Screenshots are attached.
Warm regards,
Michael
Show some code please that generates that output.
@Kastchei wrote:
Hello,
I am creating a PDF out of proc compare. The output has an extreme amount of whitespace, such that a completely clean compare takes up an entire page. This doesn't happen in the HTML output or listing output. It almost looks as if the entire thing has been double-spaced. Any ideas how to get rid of this? Screenshots are attached.
Warm regards,
Michael
Change your style to journal or minimal and set startpage to never.
data cars;
set sashelp.cars;
call streaminit(25);
if age in (13, 14) then call missing(weight);
if age in (10, 12) then height = height + rand('normal', 5);
run;
ods pdf file='C:\_localdata\demo.pdf' style=minimal startpage=never;
proc compare data=cars compare=sashelp.cars;
run;
ods pdf close;
@Reeza wrote:
Show some code please that generates that output.
@Kastchei wrote:
Hello,
I am creating a PDF out of proc compare. The output has an extreme amount of whitespace, such that a completely clean compare takes up an entire page. This doesn't happen in the HTML output or listing output. It almost looks as if the entire thing has been double-spaced. Any ideas how to get rid of this? Screenshots are attached.
Warm regards,
Michael
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.
Ready to level-up your skills? Choose your own adventure.