O'Reilly logo

SAS Certification Prep Guide: Base Programming for SAS 9, Third Edition by SAS Institute

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4: Creating List Reports

  1. Which PROC PRINT step below creates the following output
    image
    1. proc print data=flights.laguardia noobs; 
         var on changed flight; 
         where on>=160; 
      run;
      
    2. proc print data=flights.laguardia; 
         var date on changed flight; 
         where changed>3; 
      run;
      
    3. proc print data=flights.laguardia label; 
         id date; 
         var boarded transferred flight; 
         label boarded='On' transferred='Changed'; 
         where flight='219'; 
      run;
      
    4. proc print flights.laguardia noobs;  
         id date; 
         var date on changed flight; 
         where flight='219'; 
      run;
      
    Correct answer: c
    The DATA= option specifies the data set that you are listing, and the ID statement replaces ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required