Question 61 :
The contents of the raw data file PRODUCT are listed below:
--------10-------20-------30
24613____$25.31
The following SAS program is submitted:
data inventory;
infile 'product';
input idnum 5. @10 price;
run;
Which one of the following is the value of the PRICE variable?
- 25.31
- Get all Questions and Answer from here
- You need to have paid subscription to access all questions
- Thanks for considering SAS Certification Material
Correct Answer : 3
Exp : Correct answer is 3 (missing) because when input statment tries to read price as number but encounters character value, so assigns a missing value to price variable.
You can access to full explanation to question and answer from this page.