Online Access Free A00-212 Exam Questions

Exam Code:A00-212
Exam Name:SAS Advanced Programming Exam for SAS 9
Certification Provider:SASInstitute
Free Question Number:185
Posted:Oct 10, 2025
Rating
100%

Question 1

Which one of the following automatic SAS macro variables contains the return code from a previously executed step?

Question 2

Given the following SAS data set ONE:
ONE
REP AREA COST
SMITH NORTH 100
SMITH SOUTH 200
JONES EAST 100
SMITH NORTH 300
JONES WEST 100
JONES NORTH 200
JONES NORTH 400
SMITH NORTH 400
JONES WEST 100
JONES WEST 300
The following SAS program is submitted:
proc sql;
select rep, area, count(*) as TOTAL
from one
group by rep, area;
quit;
Which one of the following reports is generated?

Question 3

The following SAS program is submitted:
% micro test(var);
% let jobs=BLACKSMITH WORDSMITH SWORDSMITH;
% let type=%index(&jobs, &var);
% put type = &type;
% mend;
% test(SMITH)
What is the value of the macro variable TYPE when the %PUT statement executes?

Question 4

The following are values of the variable STYLE from the SAS data set
SASUSER.HOUSES:
SASUSERS.HOUSES
OBS STYLE
1 RANCH
2 SPLIT
3 CONDO
4 TWOSTORY
5 RANCH
6 SPLIT
7 SPLIT
The following SAS program is submitted:
proc sql noprint;
select distinct style
into :styles separated by ' '
from sasuser.houses
order by style;
quit;
Which one of the following is the value of the resulting macro variable?

Question 5

The following SAS program is submitted:
data two;
y = '2';
run;
% let x = 10;
% let var = y;
data one;
set two (keep = &var);
z = &var * &x;
run;
Which one of the following is the value of the variable Z when the program finishes execution?

Add Comments

Your email address will not be published. Required fields are marked *

insert code
Type the characters from the picture.