Question 47: You have been given below program
data course2017 ;
input COURSE_ID 1-3 COURSE_NAME$ 5-20 LOCATION$ 22-30 FEE 32-35 DATE$ 36-47
DURATION 48-50;
DROP FEE;
TotalFee=(FEE*18/100)+FEE;
RETAIN ENTIREFEE 100000;
ENTIREFEE+TotalFee;
if LOCATION in ('PUNE','JODHPUR') then FEETYPE=MEDIUM;
length FEETYPE $ 8;
In this case what would be the length of a variable FEETYPE?
- 8
- 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 : 2 Exp : Variable length can be determined by its first reference. Here, in the given program FEETYPE first refer by FEETYPE=MEDIUM.
You can access to full explanation to question and answer from this page.