By admin | September 30, 2009

SAS Certified Base Programmer 123 Questions (98)

The following SAS program is submitted:

footnote1 'Sales Report for last Mounth';
footnote2 'Selected Products Only';
footnote3 'All Regions';
footnote4 'All Figure in Thousands of Dollars';
proc print data = sasuser.shoes;
footnote2 'All products';
run;

Which one of the following contains the footnote text that is displayed in the report?

A.
All Products

B.
Sales Report for Last Month
All Products

C.
All Products
All Regions
All Figures in Thousands of Dollars

D.
Sales Report for Last Month
All Products
All Regions
All Figures in Thousands of Dollars

4 comments | Add One

  1. admin - 09/30/2009 at 2:59 pm

    B

  2. sowmya - 12/21/2010 at 9:31 am

    Hi,
    Can you please explain this one…

  3. sameer - 04/20/2011 at 10:47 am

    The footenote 2 in the print procedure will overwrite the previous footnote note 2 as well as all footnotes with higher number.
    So you are left with footnote 1 and footnote 2 of the print staement.

  4. Rajalaxmi - 05/21/2012 at 1:29 am

    Sorry ! I have a feeling it is D.
    Only Footnote2 is overwritten by the Proc print. The remaining 1, 3 and 4 will still hold good as they are global options, or till you give an explicit global statement FOOTNOTE;

Leave a Comment

Leave a Reply

Your email address will not be published. Required fields are marked *