Creating PDF Output

You can generate output that is formatted for Adobe Acrobat software. To create PDF output that contains PROC TABULATE and PROC UNIVARIATE output, sandwich the ODS PDF statement and ODS PDF CLOSE statement around the PROC TABULATE step and PROC UNIVARIATE step. Use the FILE= option to specify the name and path for your file.
options nodate nonumber;
proc sort data=sashelp.prdsale out=prdsale;
    by Country;
run;
ods pdf file='your-file-path/PDFPrdsale.pdf';
title 'Actual Product Sales';
title2 '(millions of dollars)';

proc tabulate data=prdsale;   
    class region division prodtype;   
    classlev region division prodtype;   
    var actual;   
    keyword all sum;
    keylabel all='Total';   
    table (region all)*(division all),
         (prodtype all)*(actual*f=dollar10.) /
         misstext=[label='Missing']
         box=[label='Region by Division and Type']; 
run;

title;
title2;
ods select ExtremeObs Quantiles Moments;
proc univariate data=prdsale;
    by Country;
    var actual;
run;
ods pdf close;
Default Output Viewed in Adobe Acrobat
Default Output Viewed in Adobe Acrobat