Create a report that contains only the data from 1996. Select and format the variables that you want to include, specify a title, and specify a footnote. This PROC PRINT step prints the observations in the data set Grain_Production that have a value of 1996 for the variable Year. The VAR statement selects Country, Type, and Kilotons as the variables that you want to be displayed in the output. The TITLE and FOOTNOTE statements specify the title and footnote.
proc print data=grain_production; var country type kilotons; format country $cntry. kilotons comma12.; where year=1996; title 'Leading Grain-Producing Countries'; footnote 'Measurements are in metric tons.'; run;