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
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.