I notice that there is an option called FW to control thefield width.
If I am not going to print the output to pdf, I canvisualize the difference via the Output View.
However, if I print the output to pdf using ODS, it seemsthe field width is locked and it cannot be changed.
So, I would like to know if it is possible to change thefield width in the pdf format as well.
Furthermore, is it possibleto change the field width independent to the font size of the report, such as 300pt?
John
See in following pgm others possibilities to obtain some large result from proc means !
HTH
Andre
ods output summary=test;
proc means data=sashelp.class fw=30 ;
var age weight;
run;
ods output close;
data test;
longval= 123456789.236;
set test;
run;
options orientation=landscape;
ods pdf file="d:\temp\largewidth.pdf" style=journal;
proc print data=test;
var longval vname_age age_n;
var age_mean /style={font_size=3pt } ;
var age_stddev age_min age_max;
var weight_mean / style={font_size=7pt};
format_numeric_ 30.15;
run;
ods pdf close;
of course,
ods pdf file="d:\temp\largewidth.pdf" style=journal;
proc print data=test style(column)=[width=300];
run;
ods pdf close;
is also working but the result in matter of column width is uniform
Andre
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 16. 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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: