Online Access Free A00-202 Exam Questions
| Exam Code: | A00-202 |
| Exam Name: | SAS advanced programming exam |
| Certification Provider: | SASInstitute |
| Free Question Number: | 76 |
| Posted: | Nov 27, 2026 |
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?
Which one of the following SAS SORT procedure options eliminates identical consecutive observations?
Given the following SAS data set SASUSER.HIGHWAY:
SASUSER.HIGHWAY STEERING SEATBELT SPEED STATUS COUNT
absent no 0-29 serious 31 absent no 0-29 not 1419 absent no 30-49 serious 191 absent no 30-49 not 2004 absent no 50+ serious 216
The following SAS program is submitted:
%macro highway;
proc sql noprint;
select count(distinct status)
into :numgrp
from sasuser.highway;
%let numgrp = &numgrp;
select distinct status
into :group1-:group&numgrp
from sasuser.highway;
quit;
%do i = 1 %to &numgrp;
proc print data = sasuser.highway;
where status = "&&group&i" ;
run;
%end;
%mend;
%highway
How many reports are produced by the above program?