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!
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.
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.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.