SAS_Institute
A00-280 · Question #100
A00-280 Question #100: Real Exam Question with Answer & Explanation
The correct answer is D. It adds the value of an expression to an accumulator variable and ignores missing values.. See the full explanation below for the reasoning.
Question
Which one of the following is true of the RETAIN statement in a SAS DATA step program?
Options
- AIt can be used to assign an initial value to N.
- BIt is only valid in conjunction with a SUM function.
- CIt has no effect on variables read with the SET, MERGE and UPDATE statements.
- DIt adds the value of an expression to an accumulator variable and ignores missing values.
Community Discussion
No community discussion yet for this question.