Free A00-212 Exam Braindumps (page: 26)

Page 26 of 47

The following SAS program is submitted:

options yearcutoff = 1950;
%macro y2kopt(date);
%if &date >= 14610 %then %do;
options yearcutoff = 2000;
%end;
%else %do;
options yearcutoff = 1900;
%end;
%mend;
data _null_ ;
date = "01jan2000"d;
call symput("date",left(date));
run;
%y2kopt(&date)

The SAS date for January 1, 2000 is 14610 and the SAS system option for
YEARCUTOFF is set to 1920 prior to submitting the above program.

Which one of the following is the value of YEARCUTOFF when the macro finishes execution?

  1. 1900
  2. 1920
  3. 1950
  4. 2000

Answer(s): D



Which one of the following is the purpose of the REUSE= YES option in a compressed SAS data set?

  1. It temporarily compresses observations in a SAS data set.
  2. It allows users to update the same SAS data set concurrently.
  3. It allows new observations to be inserted wherever enough free space exists.
  4. It specifies that a new empty data set with a given name replaces an existing data set with the same name.

Answer(s): C



Given the following SAS data set ONE:

ONE
LEVEL AGE
1 10
2 20
3 20
2 10
1 10
2 30
3 10
2 20
3 30
1 10

The following SAS program is submitted:
proc sql;
select level, max(age) as MAX
from one
group by level
having max(age) > (select avg(age) from one);
quit;

Which one of the following reports is generated?

  1. LEVEL AGE
    2 20
    3 20
  2. LEVEL AGE
    2 30
    3 30
  3. LEVEL MAX
    2 20
    3 30
  4. LEVEL MAX
    2 30
    3 30

Answer(s): D



Which one of the following is true regarding the KEEP statement?

  1. The KEEP statement is available in both the DATA and the PROC steps.
  2. The KEEP statement selects the variables read from the input data set(s).
  3. The KEEP statement applies to all data sets created within the same DATA step.
  4. The KEEP statement applies only to the first data set created within the same DATA step if more than one data set is created.

Answer(s): C



Page 26 of 47



Post your Comments and Discuss SAS Institute A00-212 exam with other Community members:

Nick commented on October 05, 2023
Just bought it, hope for the best
Anonymous
upvote

Abdul SK commented on September 28, 2023
Please upload it
Anonymous
upvote

SK commented on April 21, 2021
You cannot pass this examinations without the help of this braindumps questions.
SINGAPORE
upvote

Miguel commented on April 09, 2020
Muchas Gracias!
I write my exam last week and got a score of 87%. Good and happy for now.

MEXICO
upvote