By admin | September 16, 2009

SAS Certified Base Programmer 123 Questions (50)

The SAS data set EMPLOYEE_INFO is listed below:

IDNumber Expenses
2542     100.00
3612     133.15
2198     234.34
2198     111.12

The following SAS program is submitted:

proc sort data = employee_info;
 <insert BY statement here>
run;

Which one of the following BY statements completes the program and sorts the data sequentially by ascending expense values within each ascending IDNUMBER value?

A. by Expenses IDNumber;
B. by IDNumber Expenses;
C. by ascending (IDNumber Expenses);
D. by ascending IDNumber ascending Expenses;

2 comments | Add One

  1. admin - 09/16/2009 at 12:25 pm

    B

  2. sachin - 07/28/2012 at 10:01 pm

    Why not D???

Leave a Comment

Leave a Reply

Your email address will not be published.