ElearnSAS.com

ElearnSAS.com
SAS Learning Platform

Base SAS 22

The following SAS program is submitted:
options pageno = 1;
proc print data = sasuser.houses;
run;
proc means data = sasuser.shoes;
run;
The report created by the PRINT procedure step generates 5 pages of output.
What is the page number on the first page of the report generated by the MEANS procedure step?
A. 1
B. 2
C. 5
D. 6
Click Comment link to get answer

21 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Anonymous8:34 AM

    PageNo = 6

    ReplyDelete
  3. Anonymous9:11 AM

    page number 6

    ReplyDelete
  4. Anonymous11:35 AM

    Could anybody explain why would it be PG no 6?

    ReplyDelete
  5. Anonymous11:36 AM

    Could anybody explain why would it be PG no 6?

    ReplyDelete
  6. Anonymous5:00 AM

    The answer is pageno=1

    ReplyDelete
  7. pagno=6 because proc print write 5 pages output.and after that proc means will write where..?obviously on page no =6;

    ReplyDelete
  8. Anonymous9:02 AM

    # Use the OPTIONS statement to change SAS system options.
    # The change(s) will remain in effect for the rest of the job/session or until changed again.

    So the answer is D for 6

    ReplyDelete
    Replies
    1. Anonymous4:32 PM

      The only meaningful explanation.

      Delete
  9. Anonymous1:38 PM

    Answer is D! 100% correct

    Print procedure generates 5 pages output, output means procedure starts page 6.

    ReplyDelete
  10. Anonymous7:47 PM

    Sakar;
    Straight thought if the pagenno = 1 and printed 5 pages obviously the first page starts from 1 but it was not asked as I read the comments, Proc means printed after those 5 pages programs.
    Now I got the logic to satisfy.

    Thanks for clarifying.

    ReplyDelete
  11. Ans is D , FOR BETTER UNDRSTANDING, RUN THE TWO DATA SETS HOUSES AND SHOES-- PROC PRINT FOLLOWED BY MEANS --IN THIS CASE , PROC PRINT GIVES THE OUTPUT IN PAGE 1 AND MEANS IN PAGE 2

    ReplyDelete
  12. Anonymous10:56 PM

    it's nice post thank for sharing,
    gclub online
    goldenslot

    ReplyDelete