13.The following SAS program is submitted:
data WORK.TEST;
set WORK.MEASLES(keep=Janpt Febpt Marpt);
array Diff{3} Difcount1-Difcount3;
array Patients{3} Janpt Febpt Marpt;
run;
What new variables are created?
A. Difcount1, Difcount2 and Difcount3
B. Diff1, Diff2 and Diff3
C. Janpt, Febpt, and Marpt
D. Patients1, Patients2 and Patients3
Answer: A
-------------------------------------
14.Which of the following programs correctly invokes the DATA Step Debugger:
A.
data WORK.TEST debug;
set WORK.PILOTS;
State=scan(cityState,2,' ');
if State='NE' then description='Central';
run;
B.
data WORK.TEST debugger;
set WORK.PILOTS;
State=scan(cityState,2,' ');
if State='NE' then description='Central';
run;
C.
data WORK.TEST / debug;
set WORK.PILOTS;
State=scan(cityState,2,' ');
if State='NE' then description='Central';
run;
D.
data WORK.TEST / debugger;
set WORK.PILOTS;
State=scan(cityState,2,' ');
if State='NE' then description='Central';
run;
Answer: c
想问一下那个data语句后面加debug是什么意思,还有本题为什么选择C呢?