- What statement is used to read a SAS data set in a DATA step?
- What is the name of the input data set in the program below?
data work.us;
set orion.sales;
where Country='US';
run;
- What is the name of the output data set in the program below?
data work.us;
set orion.sales;
where Country='US';
run;
- Which of the following DATA steps correctly reads the permanent data set salesinfo from the sporting library and creates a new data set named salesinfo2 in the same library?
- Which of the following is not created during the compilation phase?
- The data set orion.sales contains nine variables. Given this DATA step, how many variables does the descriptor portion of work.comp contain?
data work.comp;
set orion.sales;
drop Gender Salary Birth_Date;
run;
- The data set orion.sales contains nine variables. Given this DATA step, how many variables does the descriptor portion of work.comp contain?
data work.comp;
set orion.sales;
keep Employee_ID Gender Job_Title Salary;
run;
- A KEEP statement in a DATA step omits all variables except Name, Color, and Price from the output data set. Are the omitted variables included in the PDV?
- What value will be assigned to Units?
data work.comp;
set work.sales;
Units=Total+Bonus/Quantity;
run;
PDV
Total |
Quantity |
Bonus |
Units |
140 |
10 |
50 |
. |
- Which procedure can be used to view the permanent labels and formats stored in a data set?
|