SAS Base Programming for SAS 9 — Question 45

The following SAS program is submitted:
data temp.x;
set sasuser.y;
run;
What must be submitted prior to this SAS program for the program to execute successfully?

Answer options

Correct answer: A

Explanation

The correct answer is A, as the program is attempting to write to the TEMP library, which requires a LIBNAME statement to define it. Option B is incorrect because the SASUSER library is being read from, not written to. Options C and D are also incorrect since only the TEMP libref needs to be defined for the program to execute successfully.