Question 50: Which of the following is considered correct program to generate dataset named course2017_1?
- data course2017_1 (drop=DATE DURATION);
set course2017 (keep=COURSE_NAME DURATION FEE DATE );
if DURATION<25;
TOTALFEE=TOTALFEE+FEE;
run;
- Get all Questions and Answer from here
- You need to have paid subscription to access all questions
- Thanks for considering SAS Certification Material
Correct Answer : 2 Exp : You need to understand two things here.
Syntax Issue : As you need to create new dataset than it should be in Data step. Hence, option 2 is out because it is not the correct one. In data step
it has given course2017.
You can access to full explanation to question and answer from this page.