Suppress the default BY line and specify a new value into the BY line. The NOBYLINE option suppresses the default BY line variable. The #BYVAL parameter specification inserts the current value of the BY variable Year into the title.


options nobyline;
title 'Leading Grain-Producing Countries';
title2 'for #byval(year)';