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]

Study day is defined as DCMDATE minus RFSTDTC +1

Which statement will compute the study day correctly without producing notes for missing values in the log?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Glory
10 months ago
I agree with David, I feel confident in selecting B) as the correct response for this question.
upvoted 0 times
...
Antonette
10 months ago
I believe the final answer is B), index is the correct function to use for this keyword search.
upvoted 0 times
...
Jamal
10 months ago
That makes sense, so we can eliminate D) as a possibility.
upvoted 0 times
...
Shizue
10 months ago
I'm not sure, but I think answer D) is incorrect because indexw is used for word searching, not substring.
upvoted 0 times
...
Glory
10 months ago
I agree with because the index function searches for a substring within a larger string.
upvoted 0 times
...
Jamal
12 months ago
I think the correct answer is B)
upvoted 0 times
...
Deonna
1 years 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
1 years ago
Hmm, I'm not so sure. What about FIND? Doesn't that do a similar job to INDEXC?
upvoted 0 times
...
Valentine
1 years 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
1 years 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
Cammy
11 months ago
Option B is the correct one. It uses INDEX to check if 'ABC' is present in TRT.
upvoted 0 times
...
Jeff
11 months ago
So, which option would correctly identify invalid values in the variable TRT?
upvoted 0 times
...
Jonelle
11 months ago
Yes, you're correct. INDEXC is used to check if the entire string matches a set of characters. In this case, 'ABC'.
upvoted 0 times
...
...
Mirta
1 years 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 years 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