boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - SAS advanced 真题中请教一题
相关主题
about Q70 of sas base
Base 70 第35题怎么理解? 谢谢。
sas adv 63题 第11
sas adv 63题 11 (重发)
SAS ADV 63题第11题求助
请教2个sas base问题
Question: Emacs + ESS for SAS
请问SAS用什么做Big Data (转载)
一个不理解的SAS program
SAS call symput question
相关话题的讨论汇总
话题: check话题: xb话题: xc话题: xa话题: data
进入Statistics版参与讨论
1 (共1页)
m****r
发帖数: 202
1
29
The following program is submitted to check the variables Xa, Xb, and Xc in
the SASUSER.LOOK data set:
data _null_ WORK.BAD_DATA / view=WORK.BAD_DATA ;
set SASUSER.LOOK(keep=Xa Xb Xc);
length _Check_ $ 10 ;
if Xa=. then _check_=trim(_Check_)!!" Xa" ;
if Xb=. then _check_=trim(_Check_)!!" Xb" ;
if Xc=. then _check_=trim(_Check_)!!" Xc" ;
put Xa= Xb= Xc= _check_= ;
run ;
When is the PUT statement executed?
A.
when the code is submitted
B.
only when the WORK.BAD_DATA view is used
C.
both when the code is submitted and the view is used
D.
never, the use of _null_ in a view is a syntax error
请问答案是B 还是C 呢?谢谢回答
l**********9
发帖数: 148
2
为了保证view的适时性,view总是在被调用的时候才会执行,所以答案是b
m****r
发帖数: 202
3
非常感谢
1 (共1页)
进入Statistics版参与讨论
相关主题
SAS call symput question
问几道SAS Adv的题
SAS advance Quiz 一问
请教一道SAS base题
请教一道sas base题
a question regarding sas programming
sas 代码问题
请问SAS ADV 130中74 和80题
syntax errors
Adv153
相关话题的讨论汇总
话题: check话题: xb话题: xc话题: xa话题: data