Define title and footnote. #BYVAL inserts the value of the BY variable TYPE into the title of each report.
title1 "Top Three Producers of #byval(type)"; title2 "(In Millions of Metric Tons)"; footnote j=r "TYPE ";