Question 4 :
The descriptor and data portions of the Work.Salaries data set are shown below.
Variable Type Len Pos
---------------------
name Char 8 0
salary Char 8 16
status Char 8 8
name status salary
----------------------
Liz S 15,600
Herman S 26,700
Marty S 35,000
The following SAS program is submitted:
proc print data=work.salaries; where 20000 > salary;run;
What is displayed in the SAS log after the program is executed?
- A NOTE indicating that 1 observation is read.
- 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 : 4
Exp: Salary is defined as a character variable. Therefore, the value in the WHERE statement
must be the character value 20,000 enclosed in quotation marks.
You can access to full explanation to question and answer from this page.