dear all,
how can I show the full length of a numeric value created by proc freq, the result looks like following,
|
|
It is created by following codes,
proc freq data=Step2.appln_new;
table ipr_type*granted*publn_first_grant;
run;how can I show the full length of 1.908E7? Could you please give me some suggestion about this?
thanks in advance.
Other options (within PROC FREQ) include:
table ipr_type*granted*publn_first_grant / list;
Please try the proc freq template to control the formats.
ODS PATH RESET;
ODS PATH (PREPEND) WORK.Templat(UPDATE) ;
PROC TEMPLATE;
EDIT Base.Freq.OneWayList;
EDIT Frequency;
FORMAT = best.;
END;
EDIT CumFrequency;
FORMAT = best.;
END;
EDIT Percent;
FORMAT = best.;
END;
EDIT CumPercent;
FORMAT = best.;
END;
END;
RUN;
proc freq data=Step2.appln_new;
table ipr_type*granted*publn_first_grant;
run;
Other options (within PROC FREQ) include:
table ipr_type*granted*publn_first_grant / list;
Another approach would be to use the NOPRINT option in proc freq and send the result to a data set. Then you have all the power of proc print for displaying values.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.
Ready to level-up your skills? Choose your own adventure.