SAS_Institute
A00-211 · Question #107
The contents of the raw data file AMOUNT are listed below: --------10-------20-------30 $1,234 The following SAS program is submitted: data test; infile 'amount'; input @1 salary 6.; if _error_ then…
The correct answer is A. Problems. See the full explanation below for the reasoning.
Question
The contents of the raw data file AMOUNT are listed below:
--------10-------20-------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; Which one of the following is the value of the DESCRIPTION variable?
Options
- AProblems
- BNo Problems
- C' ' (missing character value)
- DThe value can not be determined as the program fails to execute due to errors.
How the community answered
(57 responses)- A75% (43)
- B4% (2)
- C7% (4)
- D14% (8)
Community Discussion
No community discussion yet for this question.