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

The following SAS program is submitted:

libname sasdata 'SAS-data-library';

data test;

set sasdata.chemists;

if jobcode = 'Chem2'

then description = 'Senior Chemist';

else description = 'Unknown';

run;

A value for the variable JOBCODE is listed below:

JOBCODE

chem2

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

1. Chem2

2. Unknown

3. Senior Chemist

4. ' ' (missing character value)

Correct Answer : 2

is it because of the case of the string chem2 instead of Chem2. If is case sensitive and considers if jobcode = 'Chem2' as false. 'unknown is the answer. Chem2 is in inverted comma. if any word is in inverted comma than sas will be case sensitive for that word.

 

You have no rights to post comments