Question 7: Which of the following program will create following output

  1. proc print data=hetrain.helr2; var DATE LOCATION           FEE NOOFSTUDENTS; sum FEE NOOFSTUDENTS; run; B.            proc print data=hetrain.helr2; var DATE LOCATION           ; sum FEE NOOFSTUDENTS; run; C.           proc print data=hetrain.helr2; var DATE LOCATION FEE        ; sum FEE NOOFSTUDENTS; run;

 

  1. A,B
  2. Get all Questions and Answer from here
  3. You need to have paid subscription to access all questions
  4. Thanks for considering SAS Certification Material

 Correct Answer : 4 Exp : All the given options are correct. You do not need to name the variables in a VAR statement if you specify them in the SUM statement, but you can. If you choose not to name the variables in the VAR statement as well, then the SUM statement determines their order in the output.

You can access to full explanation to question and answer from this page.