asked 173k views
3 votes
Suppose you submitted the following lines of code. What will happen?

data test;
title "dataset test";
x=Y+10;
Y=1;
run;
Group of answer choices -- Can select multiple choices
A.) a dataset will be created
B.) the data step won't run due to the TITLE statement
C.) A title will be created
D.) an error will occur

1 Answer

4 votes

Final answer:

The code will create a dataset named 'test' and add a title to it. However, the data step won't run due to a reference to an undefined variable.

Step-by-step explanation:

The code will create a dataset named 'test' and add a title to it. However, the data step won't run due to a reference to an undefined variable.

The line 'x=Y+10;' will throw an error because 'Y' hasn't been given a value yet.

answered
User Raghwendra Singh
by
8.2k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.