Create additional footer templates. Each of these DEFINE FOOTER statements and each of its attributes creates a footer template. To apply these footers to your output, you must specify them in the FOOTER statement.


The DYNAMIC statements declare the dynamic variables FMissing, Stratnum, NoTitle, and SampleSize, so that they can be used in the TEXT statements.


The TEXT statements conditionally select text to use as footers. In the first TEXT statement, the expression is true, because FMissing is not 0. Therefore, the first TEXT statement is displayed in the output. In the second TEXT statement, the expression resolves to false, and the NoObs footer does not appear in the output.


The STYLE attribute specifies style information for the footers. The SPACE attribute specifies that the current footer and the previous footer should have one blank line between them.


   define footer Missing;
      dynamic FMissing;
      text "Frequency Missing = " FMissing -12.99 / FMissing ^= 0;
      space=1;
      style=header;
      end;

   define footer NoObs;
      dynamic SampleSize;
      text "Effective Sample Size = 0" / SampleSize = 0;
      space=1;
      style=header;
      end;