Question 31: You have written following SAS program
ods html body='/folders/myfolders/hadoopexam/hesample101.html';
proc print data=course2017 ;
var COURSE_ID COURSE_NAME LOCATION FEE DATE DURATION ;
run;
proc print data=course2017 (Obs=5);
var COURSE_ID COURSE_NAME LOCATION FEE DATE DURATION ;
run;
ods html close;
ods html path="%qsysfunc(pathname(work))";
What would be the result, expected once this program will be executed?
- It will generate an HTML file with single report having 5 observations.
- 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 : 3 Exp : As you have opened HTML destination and multiple PROC steps are being executed. It means it will generate the output with the
all the PROC steps and all will be appended in a single HTML file.
You can access to full explanation to question and answer from this page.