A00-231 Exam Question 36

Given the following raw data record:
07Jan2005
Which INFORMAT reads this raw data and stores it as a SAS date value?
  • A00-231 Exam Question 37

    Given the SAS data set PEPM.STUDENTS:
    PERM.STUDENTS
    NAME AGE
    Alfred 14
    Alice13
    Barbara13
    Carol14
    The following SAS program is submitted:
    libname perm 'SAS data library';
    data students;
    set perm. Students;
    file 'file specification';
    put name $15. @5 age 2.;
    run;
    What is written to the output raw data file?
  • A00-231 Exam Question 38

    The following SAS program is submitted:
    data work.test;
    array agents{4} $ 12 sales1 - sales4;
    run;
    Which one of the following represents the variables that are contained in the output data set?
  • A00-231 Exam Question 39

    The following SAS program is submitted:

    What is the value of the variable Prod in the output data set?
  • A00-231 Exam Question 40

    After a SAS program is submitted, the following is written to the SAS log:
    105 data WORK.JANUARY;
    106 set WORK.ALLYEAR(keep=Product Month Quantity Cost);
    107 if Month='JAN' then output WORK.JANUARY;
    108 Sales=Cost * Quantity;
    109 drop=Month Quantity Cost;
    -----
    22
    ERROR 22-322: Syntax error, expecting one of the following: !,
    !!, , *, **, +, -,
    , <=, <>, =, >, >=,
    AND, EQ, GE, GT, IN, LE, LT, MAX, MIN, NE, NG, NL,
    NOTIN, OR, ^=, |, ||, ~=.
    110 run;
    What data set option could be attached to WORK.JANUARY to replace the DROP statement that generated the error in the log?