Skip to Main Content
SAS Certified Professional Prep Guide
book

SAS Certified Professional Prep Guide

by SAS Institute
October 2019
Intermediate to advanced content levelIntermediate to advanced
430 pages
19h 4m
English
SAS Institute
Content preview from SAS Certified Professional Prep Guide

Quiz

Select the best answer for each question. After completing the quiz, check your answers using the answer key in the appendix.
  1. Which of the following correctly creates a macro variable in a PROC SQL step?
    1. proc sql noprint;
         select avg(Days)
            into:NumDays
            from certadv.all;
      quit;
      %put &=NumDays;
    2. proc sql noprint;
         select avg(Days)
            into NumDays
            from certadv.all;
      quit;
      %put &=NumDays;
    3. proc sql noprint;
         select avg(Days) as NumDays
            from certadv.all;
      quit;
      %put &=NumDays;
    4. proc sql noprint;
         select Days 
            into avg(Days) as NumDays
            from certadv.all;
      quit;
      %put &=NumDays;
  2. Suppose you are asked to create a report of the courses that are offered in all three available locations. The report should not contain any ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

SAS Certified Specialist Prep Guide

SAS Certified Specialist Prep Guide

SAS Institute
SAS in Practice

SAS in Practice

Ekta Saraogi

Publisher Resources

ISBN: 9781642954692