Question 15: You have created a fileref as below, now you want to use this fileref and restrict the dataset to be upto first 15 records. Which of the following statement you will be using for this given requirement?

 filename allhecrs '/folders/myfolders/hedata/hecourses2017t.dat';

  1.          infile allhecrs obs 15;
  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 : 2 Exp : You can use fileref in the infile statement to read the data. However, you can use direct file path as well instead of fileref. Using obs=15 will restrict to read observation from 1 to 15.

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