This question will ask you to provide a segment of missing code.
The following SAS program submitted:
Which segment of code will successfully run an in-line view?
Given the data set shown in the left, the SAS program on the right is submitted.
Which program will result in the identical report?
This item will ask you to provide a segment of missing code.
Given the input data set shown on the left and the output data set shown on the right:
In the text below, enter the code that will complete the program to produce the output set shown above on the right.
Case is ignored and standard SAS syntax rules apply.
When is it appropriate to create indexes on a SAS data set for efficient processing?
Given the unsorted data set WORK.ORDERS
The following three programs are submitted:
Which program will create a list of unique Customer_ID values in the WORK.ORDERS data set?
Given the SAS data set ONE:
ONE
REP COST
SMITH 200
SMITH 400
JONES 100
SMITH 600
JONES 100
The following SAS program is submitted:
Proc sql;
Select rep, avg(cost) as AVERAGE
From one
Group by rep
quit;
The following output is desired:
Which SQL procedure clause completes the program and generates the desired output?
Given the SAS data set ONE:
ONE
NUM VAR
1 A
2 B
3 C
Which SQL procedure program deletes the data set ONE?
Given the following SAS data set ONE:
ONE
DIVISION SALES
A 1234
A 3654
B 5678
The following SAS program is submitted:
data _null_;
set one;
by division;
if first.division then
call symput('mfirst',sales);
if last.division then
call symput('mlast',sales);
run;
Which one of the following is the value of the macro variable MFIRST when the above program finishes execution?