QUESTION 47
Which one of the following statements is true regarding the name of a SAS array?
|
A. It is saved with the data set.
|
B. It can be used in procedures.
|
C. It exists only for the duration of the DATA step.
|
D. It can be the same as the name of a variable in the data set.
|
Answer: C
|
我承认我在书上没见过array用于proc step,但不明白为什么?
-------------------------------------------------------------------------------------
QUESTION 112
The contents of the raw data file SIZE are listed below:
----|----10---|----20---|----30
72 95
The following SAS program is submitted:
data test;
in file 'size';
input@ 1 height 2.@ 4 weight 2;
run;
Which one of the following is the value of the variable WEIGHT in the output data
set?
A. 2
B. 72
C. 95
D. . (missing numeric value)
Answer: A
我用sas运行过结果的确是A,但不明白为什么?难道input可以assign value给variable?
----------------------------------------------------------------------------------------------------------------------
多谢!!!