A00-231 Exam Question 21

Given the SAS data set WORK.ORDERS:

Ship_date is a numeric variable containing a SAS data value. A programmer would like to create a new character variable Ship_date-char that represents the ship date as a character string, such as "February 2,2009' Which statement will create the new variable Ship_date_char as a character value with a format such as "February 2, 2009"?
  • A00-231 Exam Question 22

    The following SAS program is submitted:
    data work.sets;
    do until (prod gt 6);
    prod + 1;
    end;
    run;
    What is the value of the variable PROD in the output data set?
  • A00-231 Exam Question 23

    The SAS data set SASUSER.HOUSES contains a variable PRICE which has been assigned a permanent label of "Asking Price".
    Which SAS program temporarily replaces the label "Asking Price" with the label "Sale Price" in the output?
  • A00-231 Exam Question 24

    Given the following raw data records in DATAFILE.TXT:

    Which output is correct based on the submitted program?
  • A00-231 Exam Question 25

    The following SAS program is submitted:
    data one;
    date = '04juI2005'd;
    format date weekdate.; run;
    proc print data = one; run;
    What output is generated?