SAS Institute A00-202 - Questions & Answers
Free preview · every answer includes a full explanation
Product page: https://prepkeys.com/a00-202.html
Which of the following statement(s) in the DATASETS procedure alters the name of a SAS data set stored in a SAS data library?
The following SAS program is submitted:
<insert statement here>;
%let development = ontime;
proc print data = sasuser.highway;
title "For &dept";
title2 "This project was completed &development"; run;
Which one of the following statements completes the above and resolves title1 to "For research&development"?
Which one of the following options controls the pagesize of a SAS data set?
Given the following SAS data set ONE:
ONE
REP COST
________________________
SMITH 200
SMITH 400
JONES 100
SMITH 600
JONES 100
JONES 200
JONES 400
SMITH 800
JONES 100
JONES 300
The following SAS program is submitted:
proc sql;
select rep, avg(cost) as AVERAGE from one group by rep
having avg(cost) > (select avg(cost) from one);
quit;
Which one of the following reports is generated?
The following SAS program is submitted:
proc sort data = sales tagsort;
by month year;
run;
Which of the following resource(s) is the TAGSORT option reducing?
The following SAS program is submitted:
data one;
do i = 1 to 10;
ptobs = ceil(ranuni(0) * totobs);
set temp point = ptobs
nobs = totobs;
output;
end;
stop;
run;
The SAS data set TEMP contains 2,500,000 observations.
Which one of the following represents the possible values for PTOBS?
Which one of the following programs contains a syntax error?
The following SAS code is submitted:
%macro houses(dsn = houses,sub = RANCH);
data &dsn;
set sasuser.houses;
if style = "&sub";
run;
%mend;
%houses(sub = SPLIT)
%houses(dsn = ranch)
%houses(sub = TWOSTORY)
Which one of the following is the value of the automatic macro variable SYSLAST?
Given the following SAS data sets ONE and TWO:
ONE TWO
NUM COUNTRY NUM CITY
______________ ____________________________ ______ 1 CANADA 3 BERLIN
2 FRANCE 5 TOKYO
3 GERMANY 4 BELGIUM
5 JAPAN
The following SAS program is submitted:
proc sql;
select country
from one where not exists
(select * from two where one.num = two.num);
quit;
Which one of the following reports is generated?
Which one of the following statements is true?