Chapter Quiz
Select the best answer
for each question. Check your answers using the answer key in the
appendix.
-
Which SAS statement associates the fileref Crime with the raw data file
C:\States\Data\crime.dat
?-
filename crime 'c:\states\data\crime.dat';
-
filename crime c:\states\data\crime.dat;
-
fileref crime 'c:\states\data\crime.dat';
-
filename 'c:\states\data\crime' crime.dat;
-
-
How long do filerefs remain in effect?
-
until you change them
-
until you cancel them
-
until you end your SAS session
-
all of the above
-
-
Which statement identifies the name of a raw data file to be read with the fileref Products and specifies that the DATA step read only records 1-15?
-
infile products obs 15;
-
-
Get SAS Certification Prep Guide, 4th 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.