Don't forget to create account on our site to get access to more material made only for free registered user.  
SAS A00-211 Certification SAS A00-212 Certification Questions and Answers SAS A00 240 Certification Material SAS A00-250 Exam Material Certification SAS Packaged Solutions

Question 22:  Which of the following FORMAT procedures is written correctly?

1.  proc format lib=library 

   value colorfmt; 

         1='R'

         2='G' 

         3='B' 

run;

2. proc format lib=library; 

   value colorfmt 

         1='R' 

         2='G' 

         3='B'; 

run;

3. proc format lib=library; 

   value colorfmt; 

         1='R' 

         2='G' 

         3='B' 

run;

4. proc format lib=library; 

   value colorfmt 

         1='R'; 

         2='G'; 

         3='B'; 

run;

Correct Answer : 2

Exp : A semicolon is needed after the PROC FORMAT statement. The VALUE statement begins with the keyword VALUE and ends with a semicolon after all the labels have been defined.

 

You have no rights to post comments