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?
A. No Problems
B. Problems
C. The value can not be determined as the program fails to execute due to errors.
D. ' ' (missing character value)
----|----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?
A. No Problems
B. Problems
C. The value can not be determined as the program fails to execute due to errors.
D. ' ' (missing character value)
No comments:
Post a Comment