Question 53: When you run the below program what would happened. Assume hesample1.dat has 50 valid observations.
data prices;
infile '/folders/myfolders/hadoopexam/hesample1.dat';
input CODE $ NAME$ FEE1 FEE2;
format FEE1 fee. Name name.;
run;
data work.subset;
set prices (firstobs=3 obs=2);
run;
- Subset data set will have 2 observation.
- 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 : 4 Exp : Option given are wrong and you will get below error.
ERROR: FIRSTOBS option > OBS option - no data to read from file WORK.PRICES.
FIRSTOBS= specifies the number of the first observation to process.
You can access to full explanation to question and answer from this page.