Question 45: Which is the correct statement regarding length of a variable in a SAS program?

  1. As soon as variable appear in data step and its value derive the length.
  2. Whatever length explicitly defined will be the length of that variable
  3. As soon as you do the assignment

 

  1. A,B
  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 : 3 Exp : It depends on various scenario, how to derive the actual length of a variable.

 If variable first found in data step with its value like v1=Low. Then its length will be decided as 3 byte.

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