The SAS Output Delivery System and reporting techniques

ODS PDF to configure Field Width in PROC MEANS

Reply
N/A
Posts: 1

ODS PDF to configure Field Width in PROC MEANS

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?

Super Contributor
Posts: 273

ODS PDF to configure Field Width in PROC MEANS

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;

Super Contributor
Posts: 273

ODS PDF to configure Field Width in PROC MEANS

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

Ask a Question
Discussion stats
  • 2 replies
  • 187 views
  • 0 likes
  • 2 in conversation