Question 48: In which of the following program either DROP or KEEP is wrongly used

  1. 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;

  1. Get all Questions and Answer from here
  2. You need to have paid subscription to access all questions
  3. Thanks for considering SAS Certification Material

 Correct Answer : 2 Exp : You can use DROP and KEEP statement as below

 -             In any DATA step

 -             You can use it as an option DATA statement

 But you cannot use them in the PROC step.

You can access to full explanation to question and answer from this page.