Multiple choice technology programming languages

Which of the following correctly references a SAS data set named SalesAnalysis that is stored in a permanent SAS library?

  1. a.data saleslibrary.salesanalysis;

  2. set sales_99.salesanalysis;

  3. proc print data=salesanalysis.quarter1;

  4. a.proc freq data=1999data.salesanalysis;

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In SAS, a library reference (libref) must be 1 to 8 characters long, start with a letter or underscore, and contain only alphanumeric characters. 'sales_99' is valid, whereas 'saleslibrary' and 'salesanalysis' exceed 8 characters, and '1999data' starts with a number.