SAS_Institute
A00-211 · Question #51
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…
Sign in or unlock A00-211 to reveal the answer and full explanation for question #51. The question stem and answer options stay visible for context.
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.
Unlock A00-211 to see the answer
You've previewed enough free A00-211 questions. Unlock A00-211 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.