SAS_Institute
A00-211 · Question #51
A00-211 Question #51: Real Exam Question with Answer & Explanation
The correct answer is D. City's value will be assigned one time, State's value 5 times.. See the full explanation below for the reasoning.
Question
Consider the following data step: The computed variables City and State have their values assigned using two different methods, a RETAIN statement and an Assignment statement. Which statement regarding this program is true?
Options
- AThe RETAIN statement is fine, but the value of City will be truncated to 8 bytes as the LENGTH
- BBoth the RETAIN and assignment statement are being used to initialize new variables and are equally
- CThe assignment statement is fine, but the value of City will be truncated to 8 bytes as the LENGTH
- DCity's value will be assigned one time, State's value 5 times.
Community Discussion
No community discussion yet for this question.