由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - 请教SAS advanced中关于view的问题
相关主题
## SAS ADV考题求教##求高人指点一个SAS数据的转换问题
求教:What is "SAS data step production"? SAS Base 123题中47和112题疑问
一个sas base问题不明白,请教请问大虾们一个SAS DATA STEP的小问题
[合集] 请教一个SAS 数据分配问题求助:变态老板不喜欢SAS code里面有SQL
请推荐SAS book关于Data Step的书--包子酬谢该送什么样的SAS code呢?
问一个SAS DATA 处理的问题,谢谢!请教SAS BASE的一题目
SAS problem about data step我的SAS CODE 错那儿了?
问题请教what data steps are involved in data validation?
相关话题的讨论汇总
话题: data话题: sas话题: view话题: step
进入Statistics版参与讨论
1 (共1页)
m****r
发帖数: 202
1
Consider the following SAS log:
229 data sasuser.ranch sasuser.condo / view = sasuser.ranch;
230 set sasuser.houses;
231 if style = 'RANCH' then output sasuser.ranch;
232 else if style = 'CONDO' then output sasuser.condo;
233 run;
NOTE:
DATA STEP view saved on file SASUSERRANCH. NOTE:
A stored DATA STEP view cannot run under a different operating system.
234
235 proc print data = sasuser.condo;
ERROR:File SASUSER.CONDO.DATA does not exist.
236 run;
NOTE: The SAS System stopped processing this step because of errors.
Which one of the following explains why the PRINT procedure fails?
A. SASUSERCONDO is a stored DATA step program.
B. A SAS data file and SAS data view cannot be created in the same DATA step.
C. A second VIEW=SASUSERCONDO option was omitted on the DATA statement.
D. The view SASUSERRANCH must be processed before SASUSERCONDO is
created.
为什么Answer: D
谢谢答复
l*********s
发帖数: 5409
2
view is basically a stored compiled procedure, no data itself.
1 (共1页)
进入Statistics版参与讨论
相关主题
what data steps are involved in data validation?请推荐SAS book关于Data Step的书--包子酬谢
怎样在data step跳过格式不对的data record?问一个SAS DATA 处理的问题,谢谢!
请教SAS BASE的一个题目SAS problem about data step
SAS问题问题请教
## SAS ADV考题求教##求高人指点一个SAS数据的转换问题
求教:What is "SAS data step production"? SAS Base 123题中47和112题疑问
一个sas base问题不明白,请教请问大虾们一个SAS DATA STEP的小问题
[合集] 请教一个SAS 数据分配问题求助:变态老板不喜欢SAS code里面有SQL
相关话题的讨论汇总
话题: data话题: sas话题: view话题: step