The #BYVAL specification inserts the year into the second line of the title.
   title2 '#byval(year)';
run;