DATA Step, Macro, Functions and more

footnote

Accepted Solution Solved
Reply
Contributor
Posts: 31
Accepted Solution

footnote

The following SAS program is submitted:


footnote1 ‘Sales Report for Last Month’;
footnote2 ‘Selected Products Only’;
footnote3 ‘All Regions’;
footnote4 ‘All Figures in Thousands of Dollars’;
proc print data = sasuser.shoes;
footnote2 ‘All Products’;
run;

 

Which footnote(s) is/are 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
Answer: B

Why footnote 3 and 4 disappear whereas footnote 1 stays? Thanks!


Accepted Solutions
Solution
‎09-27-2017 06:06 AM
Valued Guide
Posts: 596

Re: footnote

When you issue a footnote statement for a specific line (in your case "footnote2 'All products'") it replaces the footnote for that line and all footnotes with a higher line number so footnotes 3 and 4 are cancelled leaving only footnotes 1 and 2 in your output.

View solution in original post


All Replies
Solution
‎09-27-2017 06:06 AM
Valued Guide
Posts: 596

Re: footnote

When you issue a footnote statement for a specific line (in your case "footnote2 'All products'") it replaces the footnote for that line and all footnotes with a higher line number so footnotes 3 and 4 are cancelled leaving only footnotes 1 and 2 in your output.

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 280 views
  • 1 like
  • 2 in conversation