By admin | October 6, 2009

SAS Certified Base Programmer 123 Questions (107)

The following SAS program is submitted:

libnamesasdata 'SAS-data-library';

data set;
    set sasdata .chemists;
    if jobcode = 'chem3'
        then description = 'Senior Chemist';
    else description = 'Unknown';
run;

A value for the variable JOBCODE is listed below:

JOBCODE
CHEM3

Which one of the following values does the variable DESCRIPTION contain?

A. chem3
B. Unknown
C. Senior Chemist
D. ‘ ‘ (missing character value)

One comment | Add One

  1. admin - 10/6/2009 at 3:18 pm

    B

Leave a Comment

Leave a Reply

Your email address will not be published.