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?

  1. 8
  2. Get all Questions and Answer from here
  3. You need to have paid subscription to access all questions
  4. 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.