nerdexam
SAS_Institute

A00-201 · Question #69

Which one of the following is true of the RETAIN statement in a SAS DATA step program?

The correct answer is C. C.It has no effect on variables read with the SET, MERGE and UPDATE statements. 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

  • AA.It can be used to assign an initial value to N.
  • BB.It is only valid in conjunction with a SUM function.
  • CC.It has no effect on variables read with the SET, MERGE and UPDATE statements.
  • DD.It adds the value of an expression to an accumulator variable and ignores missing values.

How the community answered

(32 responses)
  • A
    6% (2)
  • B
    3% (1)
  • C
    78% (25)
  • D
    13% (4)

Community Discussion

No community discussion yet for this question.

Full A00-201 Practice