Home Forums Base SAS Certification Questions BASE CERTIFICATION Q11- KEEP, Variable length

This topic contains 0 replies, has 1 voice, and was last updated by  blogger rajeev 1 year, 1 month ago.

Viewing 1 post (of 1 total)
  • Author
  • #147

    blogger rajeev

    The following SAS program is submitted:

    libname sasdata ‘SAS-data-library’;
    data test;
    set sasdata.chemists (keep = job_code);
    if job_code = ‘chem3’ then description = ‘Senior Chemist’;

    The variable JOB_CODE is a character variable with a length of 6 bytes.

    Which one of the following is the length of the variable DESCRIPTION in the output data set?

    A. 6 bytes
    B. 8 bytes
    C. 14 bytes
    D. 200 bytes

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.