全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1716 3
2010-10-25
请问

有哪些STATEMENTS 是只能在COMPILE 阶段?
有哪些STATEMENTS 是只在PROCESSING 阶段?
又有哪些 可以在 这两个阶段?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2010-10-25 09:14:41
qingww 发表于 2010-10-25 07:51
请问

有哪些STATEMENTS 是只能在COMPILE 阶段?
有哪些STATEMENTS 是只在PROCESSING 阶段?
又有哪些 可以在 这两个阶段?
It is better to classify them as executable and non-executable.

All statements in a data step all be compiled, and if they pass the compiling, then they get executed. Otherwise sas supervisor issues error messages.

Non-executable statements are those providing descreptive information about the variables during the compiling stage, such as
1) length
2) label
3) format
4) informat

5) retain (it may be semi-executable)

All other statements are executable and they may also provide information about the variables during the compiling stage.

Hope this is clear.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2010-10-25 12:44:33
2# bobguy
一般编程代码 都可分为 可执行语句和声明语句,像版主讲的Length retain,还有array都是申明语句,SAS是不执行的。 不知道解释的对不?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2010-10-26 02:59:15
thank you for replying^^
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群