After all the observations are processed, add an axis line, title, footnote, and frame. The MOVE and DRAW functions draw the axis line. The LABEL function writes the title and the footnote. The FRAME function draws a border around the output.
   if end then do;
      function='move'; x=10; y=20; output;
      function='draw'; x=90; y=20; line=1;
         size=.5; color='blue'; output;
      function='label'; x=50; y=95; text='Projected Sales';
         xsys='3'; ysys='3'; position='5'; style='swissb';
         size=5; color=' '; output;
         x=92; y=5; size=3; style='swiss'; text='GR12N01 '; output;
      function='frame'; color='blue'; when='b';
         style='empty'; output;
   end;
run;