By admin | August 7, 2009

SAS Certified Base Programmer 50 Questions (30)

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 salary<20000;
run;

What is displayed in the SAS log after the program is executed?

a. A NOTE indicating that 1 observation is read.
b. A NOTE indicating that 0 observations were read.
c. A WARNING indicating that character values have been converted to numeric values.
d. An ERROR indicating that the WHERE clause operator requires compatible variables.

One comment | Add One

  1. admin - 08/9/2009 at 8:32 pm

    D

Leave a Comment

Leave a Reply

Your email address will not be published.