Question 28: The following SAS program is submitted:
data work.sales;
do year = 1 to 5;
do month = 1 to 12;
x + 1;
end;
end;
run;
Which one of the following represents how many observations are written to the WORK.SALES data set?
- 0
- 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 : The output is missing.To write all (12*5) 60 values change syntax to :
.....
x + 1;
*output;
end;
end;
run;
proc print data= work.sales;run;
You can access to full explanation to question and answer from this page.