Question 65 :

 When the following SAS program is submitted, the data set SASDATA.PRDSALES contains 5000 observations:

 libname sasdata 'SAS-data-library';

 options obs = 500;

 proc print data = sasdata.prdsales (firstobs = 100);

 run;

 options obs = max;

 proc means data = sasdata.prdsales (firstobs = 500);

 run;

 How many observations are processed by each procedure?

 

  1. 400 for PROC PRINT

 4500 for PROC MEANS

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

 Correct Answer : 2

 Exp : OBS option will let SAS know last observation to process. FIRSTOBS option will let SAS know first observation to process. So for first proc print FIRSTOBS =100 and OBS (i like

 to call it LASTOBS) = 500, so there are 401 observation (including 100th observation) processed by it.

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