SAS Base Certification – Practice Exam 8

Question 8: Assume that TEMPLIB.NEW does not exist and that the following SAS program is submitted at the beginning of a new SAS session:

1
2
3
4
5
data templib.new;
   name='jack';
   age=27;
   output new;
run;

What is the result?

Options:

a.	The data set TEMPLIB.NEW is created with 2 variables and 3 observations .
b.	The data set TEMPLIB.NEW is created with 2 variables and 0 observations.
c.	The DATA step does not execute.
d.	The data set TEMPLIB.NEW is created with 2 variables and 1 observation.

*This blog is not affiliated with SAS or the SAS Institute. All answer logs, data sets, output, and commentary are provided by this blog.

Correct Answer

Incorrect Answer

Click to see Answer Explanation below

thanks for your support

Leave a Comment

Please keep in mind that comments are moderated and rel="nofollow" is in use. So, please do not use a spammy keyword or a domain as your name, or it will be deleted. Let us have a personal and meaningful conversation instead.