Question 48 :

 The following SAS program is submitted:

 data work.staff;

 JobCategory = 'FA';

 JobLevel = '1';

 JobCategory = JobCategory || JobLevel;

 run;

 Which one of the following is the value of the variable JOBCATEGORY in the output data set?

 

  1. FA
  2. Get all Questions and Answer from here
  3. You need to have paid subscription to access all questions
  4. Thanks for considering SAS Certification Material

 Correct Answer : 1

 Exp : length of JobCategory already set to 2 by the first assignment statement

 jobcategory='FA';

 after this jobcategory variable's length is two bytes,it can hold only two bytes.

 Eventhough there is no mistake in the step

 jobcategory=jobcategory || joblevel;

 jobcategory carries the value FA.

You can access to full explanation to question and answer from this page.