Multiple choice technology programming languages

%let lib=sasuser; %let year=02; %let month=jan; libname &lib ’SAS-data-library’; proc print data=&lib.y&year&month; run; The dataset name that proc print gets is "sasusery02jan".Which of the following character you will use in place of to finally have "sasuser.y02jan" dataset. proc print data=&lib.y&year&month; run;

  1. . (period)

  2. &(ampersand)

  3. %(percentage)

  4. Any one of the above character

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

In SAS, a period (.) acts as a macro variable delimiter. To append text or another reference immediately after a macro variable, a period is used to terminate the macro reference. To get a literal period in the resolved text, two consecutive periods (..) are required, making the period the correct choice.