Which one of the following is an advantage of creating and using a SAS DATA step view?
A. It can store an index.Given the following SAS data set named WORK.INTERNAT:
WORK.INTERNAT LOCATION SUM
USA 30
EUR 40
The following SAS program is submitted:
%let LOC = Usa;
proc sql;
select *
from internat
where location = "andLoc";
quit;
Which one of the following is the result when the above code is executed on the above data set?
A. A report is generated with one destination.The SAS data set ONE has a variable X on which an index has been created. The data sets ONE and THREE are sorted by X. Which one of the following SAS programs uses the index to select observations from the data set ONE?
A. data two; set three; set one key = X; run;Given the following SAS data set ONE:
ONE
CATEGORY AGE SALARY BONUS
--------------------------------------------------- M 28 200 .
M 25 100 10
F 100 50
F 25 200 10
The following SAS program is submitted:
proc sql;
create table two as
select category, salary + bonus as EARNINGS
from one; quit;
Which one of the following represents the data values stored in the data set TWO?
A. CATEGORY EARNINGS M 200 M 110 F 150 F 210Given the following SAS data set ONE:
ONE COUNTRY CITY VISIT
USA BOSTON 10
UK LONDON 5
USA DALLAS 10
UK MARLOW 10
USA BOSTON 20
UK LONDON 15
USA DALLAS 10
The following SAS program is submitted:
proc sql;
select country, city, sum(visit) as TOTAL
from one group by country, city
order by country, total desc;
quit;
Which one of the following reports is generated?
A. COUNTRY CITY TOTAL UK MARLOW 10 UK LONDON 20 USA BOSTON 50 USA DALLAS 20Which one of the following SAS procedures changes a permanent format of a variable stored in a SAS data set?
A. MODIFYThe variable attributes of SAS data sets ONE and TWO are shown below:
ONE TWO
# Variable Type Len Pos # Variable Type Len Pos
2 sales Num 8 8 2 budget Num 8 8
1 year Num 8 0 3 sales Char 8 16
1 year Num 8 0
Data set ONE contains 100 observations. Data set TWO contains 50 observations. Both data sets are sorted by the variable YEAR. The following SAS program is submitted:
data three;
merge one two;
by year;
run;
Which one of the following is the result of the program execution?
A. No messages are written to the SAS log.Which one of the following automatic SAS macro variables contains the return code from a previously executed step?
A. andRCThe following SAS program is submitted.
filename sales ('external-file1' 'external-file2'); data new;
infile sales;
input date date9. company $ revenue;
run;
Which one of the following is the result of including the FILENAME statement in this program?
A. The FILENAME statement produces an ERROR message in the SAS log.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?
A. any integer between 1 and 10Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only SAS Institute exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your A00-202 exam preparations and SAS Institute certification application, do not hesitate to visit our Vcedump.com to find your solutions here.