SAS_Institute
A00-201 · Question #77
16: 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_…
The correct answer is A. Problems. See the full explanation below for the reasoning.
Question
16: 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
(44 responses)- A77% (34)
- B2% (1)
- C14% (6)
- D7% (3)
Community Discussion
No community discussion yet for this question.