由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - 请教SAS ADV真题里一道题目
相关主题
SAS ADV 63题第11题求助请教一道data set view 的问题
今天刚去考了SAS ADV求助, 读取大型数据的问题
ADV 12月真题一问讨论3道SAS ADV题目
sas adv 63题 第11SAS proc format的问题
sas adv 63题 11 (重发)Proc SQL 能不能直接读 非 SAS format 的数据,txt , csv 等
2013 January 刚考过SAS Adv请教SAS BASE11月真题里几道题目
请教 2 道SAS Adv 真题请教一个SAS问题
sas adv问题sas advance 12月真题Q20请教
相关话题的讨论汇总
话题: sas话题: data话题: proc话题: set话题: macro
进入Statistics版参与讨论
1 (共1页)
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.
1 (共1页)
进入Statistics版参与讨论
相关主题
sas advance 12月真题Q20请教sas adv 63题 11 (重发)
SAS 求助: filenames2013 January 刚考过SAS Adv
SAS.Base(11月)跟Adv(12)考试真题请教 2 道SAS Adv 真题
SAS Base&Adv真题答案&打折code总结sas adv问题
SAS ADV 63题第11题求助请教一道data set view 的问题
今天刚去考了SAS ADV求助, 读取大型数据的问题
ADV 12月真题一问讨论3道SAS ADV题目
sas adv 63题 第11SAS proc format的问题
相关话题的讨论汇总
话题: sas话题: data话题: proc话题: set话题: macro