Hello,
I am trying to export results to a PDF but despite the results showing up in the results viewer in SAS, whenever I add the ods PDF code it ends up just giving me a PDF with the ENTIRE dataset.
I'm sure this is an easy fix but I'm not seeing it.
Sorry and thanks!!!
Code:
ods pdf file-"uniresults.pdf";
proc univariate data=file4;
var apple orange panda
run;
ods pdf close;
Oh yes, just a typo
Code:
ods pdf file="uniresults.pdf";
proc univariate data=file4;
var apple orange panda
run;
ods pdf close;
Log:
everything runs fine till the last line which says
Error: Device is offline (in a dark brown color)
The computer I'm coding on isn't allowed to be hooked up to the internet (per the data security agreement)...:/
Thank you Reeza!!! My IT person just got back to me and said its the default. I just like the PDF for the formatting!
I wish I was somewhere so cool, I'm just a lowly grad student with a computer I've signed away by first born child on to use!!!
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.