Question 16

On which portion(s) of a SAS data set does the PRINT procedure report?
  • Question 17

    Given the following raw data record:
    ----I----10---I----20---I----30
    son Travis,
    The following output is desired:
    Obs relation firstname
    1 son Travis
    Which SAS program correctly reads in the raw data?
  • Question 18

    The data set WORK.REALESTATE has the variable LocalFee with a format of 9. and a variable CountryFee with a format of 7.; The following SAS program is submitted:

    What are the formats of the variables LOCALFEE and COUNTRYFEE in the output dataset?
  • Question 19

    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"?
  • Question 20

    The data set RALESTATE has the variable LOCALFEE with a format or 9. and a variable COUNTRYFEE with a format or 7.; The following SAS program is submitted:
    data history;
    format local fee country fee percent6.;
    set realestate;
    local fee = local fee / 100;
    country fee = country fee / 100;
    run;
    What are the formats of the variables LOCALFEE and COUNTRYFEE in the output dataset?