Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

SAS Exam A00-280 Topic 10 Question 54 Discussion

Actual exam question for SAS's A00-280 exam
Question #: 54
Topic #: 10
[All A00-280 Questions]

Given the following SAS program:

Which statement correctly identifies invalid values in the variable TRT, if only the values 'A', B', 'C are valid?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Jamal
2 days ago
I think the correct answer is B)
upvoted 0 times
...
Deonna
24 days ago
Yeah, FIND could work too. But I think INDEXC is a bit more straightforward and easier to read in the code.
upvoted 0 times
...
Lai
26 days ago
Hmm, I'm not so sure. What about FIND? Doesn't that do a similar job to INDEXC?
upvoted 0 times
...
Valentine
27 days ago
You make a good point. I think I agree with Mirta that INDEXC is the way to go here. It's specifically designed for this kind of validation task.
upvoted 0 times
...
Leota
28 days ago
Hold up, wait a minute. Isn't INDEXC different from INDEX? I thought INDEX just checks if the string contains the substring, not whether the entire string is valid.
upvoted 0 times
...
Mirta
1 months ago
Yeah, that's how I understood it too. I think the best way to do that would be to use the INDEXC function, which checks if the string contains any characters that are not in the specified character set.
upvoted 0 times
...
Timothy
1 months ago
Hmm, this question seems pretty straightforward. I'm guessing the valid values for TRT are 'A', 'B', and 'C', and we need to find the invalid ones, right?
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77