SAS Certified Base Programmer 123 Questions (120)
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.; run;
Which one of the following is the value of the SALARY variable?
A. 1234
B. 1,234
C. $1,234
D. . (missing numeric value)
Topics:
SAS Base Questions |
3 Comments »
D
plz explain
Variable Salary is a nonstandard numeric data. Proper way to read a numeric data with dollar sign is to use informat commaw.d