SAS_Institute
A00-211 · Question #154
Given the raw data file AMOUNT: ----I---- 10---I----20---I----30 $1,234 The following SAS program is submitted: data test; infile amount'; input@1 salary 6.; if_error_then description = Problems'…
The correct answer is B. The value of the DESCRIPTION variable is Problems. See the full explanation below for the reasoning.
Question
Given the raw data file AMOUNT:
----I---- 10---I----20---I----30 $1,234 The following SAS program is submitted:
data test; infile amount'; input@1 salary 6.; if_error_then description = Problems'; else description = `No Problems'; run; What is the result?
Options
- AThe value of the DESCRIPTION variable is No Probl.
- BThe value of the DESCRIPTION variable is Problems.
- CThe value of the DESCRIPTION variable is No Problems.
- DThe value of the DESCRIPTION variable can not be determined.
How the community answered
(56 responses)- A4% (2)
- B80% (45)
- C5% (3)
- D11% (6)
Community Discussion
No community discussion yet for this question.