Chapter 2: Referencing Files and Setting Options

  1. If you submit the following program, how does the output look?
    options pagesize=55 nonumber; 
    proc tabulate data=clinic.admit; 
       class actlevel; 
       var age height weight; 
       table actlevel,(age height weight)*mean; 
    run; 
    options linesize=80; 
    proc means data=clinic.heart min max maxdec=1; 
       var arterial heart cardiac urinary; 
       class survive sex; 
    run;
    
    1. The PROC MEANS output has a print line width of 80 characters, but the PROC TABULATE output has no print line width.
    2. The PROC TABULATE output has no page numbers, but the PROC MEANS output has page numbers.
    3. Each page of output from both PROC steps is 55 lines long and has no page numbers, and the PROC MEANS output has a print line width of ...

Get SAS Certification Prep Guide: Base Programming for SAS 9, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.