A00-202 Free Dumps Study Materials
Question 4: Consider the following SAS log:
229 data sasuser.ranch sasuser.condo / view = sasuser.ranch;
230 set sasuser.houses;
231 if style = 'RANCH' then output sasuser.ranch;
232 else if style = 'CONDO' then output sasuser.condo;
233 run;
NOTE: DATA STEP view saved on file SASUSER.RANCH.
NOTE: A stored DATA STEP view cannot run under a different operating system.
235 proc print data = sasuser.condo;
ERROR: File SASUSER.CONDO.DATA does not exist.
236 run;
NOTE: The SAS System stopped processing this step because of errors.
Which one of the following explains why the PRINT procedure fails?
A. SASUSER.CONDO is a stored DATA step program.
B. The view SASUSER.RANCH must be processed before SASUSER.CONDO is created.
C. A second VIEW=SASUSER.CONDO option was omitted on the DATA statement.
D. A SAS data file and SAS data view cannot be created in the same DATA step.
Correct Answer: B