P******V 发帖数: 83 | 1 11, The following SAS code is submitted:
data WORK.TEMP WORK.ERRORS/view=WORK.TEMP;
infile RAWDDATA;
input Xa Xb Xc;
if Xa=. then output WORK.ERRORS;
else output WORK.TEMP;
run;
which of the following is true of the WORK.ERRORS data set?
A The data set is created when the DATA step is submitted
B The data set is created when the view TEMP is used in another SAS step
C The data set is not created because the DATA statement contains a syntax
error.
D The descriptor portion of WORK.ERRORS is create |
P******V 发帖数: 83 | 2 还有三道130题里的问题:
81 At the start of a new SAS session, the following program is submitted:
%macro one;
data _null_;
call symput('proc','means');
run;
proc &proc data=sashelp.class;
run;
%mend;
%one()
what is the result?
A the macro variable proc is stored in the local symbol table.
B the macro variable proc is stored in the global symbol table.
C the macro variable proc is stored in the SAS catalog WORK.SASMACR
D the program fails to execute because PROC is a reserved word
这倒题答案是B,不过我不明白为什么proc是GLO |
l*********s 发帖数: 5409 | 3 SAS does not even have a macro variable _AUTO_; there is no "想法". you just
have to memorize the solution. |
b******e 发帖数: 539 | 4 81 -- you just have to remember it.
93 -- besides the reason upstairs pointed out, it's also important that the
question stated 'At the start of a new SAS session'. At that moment, there
is no user-defined macro variables. |
j****e 发帖数: 158 | 5 prob 81, for key var, using blank as default.
for positional var, using comma as default. |
s*******r 发帖数: 769 | 6 http://www.doc88.com/p-70487092511.html
说11题答案是B
请点解
【在 P******V 的大作中提到】 : 11, The following SAS code is submitted: : data WORK.TEMP WORK.ERRORS/view=WORK.TEMP; : infile RAWDDATA; : input Xa Xb Xc; : if Xa=. then output WORK.ERRORS; : else output WORK.TEMP; : run; : which of the following is true of the WORK.ERRORS data set? : A The data set is created when the DATA step is submitted : B The data set is created when the view TEMP is used in another SAS step
|
d********6 发帖数: 7 | 7 It is better to write the SAS codes and read the information in the SAS Log,
then you would understand how SAS works. |