SAS_Institute
A00-281 · Question #90
Given the following SAS program: Which statement correctly identifies invalid values in the variable TRT, if only the values 'A', B', 'C are valid?
The correct answer is A. if indexc(TRT, 'ABC') eq 0 then output. See the full explanation below for the reasoning.
Question
Given the following SAS program:
Which statement correctly identifies invalid values in the variable TRT, if only the values 'A', B', 'C are valid?
Exhibit
Options
- Aif indexc(TRT, 'ABC') eq 0 then output;
- Bif index(TRT, 'ABC') eq 0 then output;
- Cif find(TRT, 'ABC') eq 0 then output;
- Dif indexw(TRT, 'ABC') eq 0 then output;
How the community answered
(34 responses)- A74% (25)
- B9% (3)
- C15% (5)
- D3% (1)
Community Discussion
No community discussion yet for this question.
