Produce a report. This PROC REPORT step produces a report on grain production.
Each BY group produces a page of output.
proc report data=grain_production nowindows;
by year;
column country type kilotons;
define country / group width=14 format=$cntry.;
define type / group 'Type of Grain';
define kilotons / format=comma12.;
footnote 'Measurements are in metric tons.';
run;
Restore the BY line and clear the second title statement. The BYLINE option
restores the BY line. The TITLE2 statement clears the second TITLE statement.
options byline;
title2;
Produce a report that contains one table for each year. The TABLE statement in ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.