楼主: lqyrendajinji
1522 1

[原创博文] one sas question [推广有奖]

  • 0关注
  • 0粉丝

已卖:1份资源

博士生

16%

还不是VIP/贵宾

-

威望
0
论坛币
566 个
通用积分
0
学术水平
0 点
热心指数
1 点
信用等级
0 点
经验
2322 点
帖子
290
精华
0
在线时间
105 小时
注册时间
2009-7-15
最后登录
2022-10-12

楼主
lqyrendajinji 发表于 2010-2-8 12:27:14 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
Consider the following data step:

data WORK.TEST;
set SASHELP.CLASS(obs=5);
retain City 'Beverly Hills';
State='California';
run;

The computed variables City and State have their values assigned using two different methods, a RETAIN statement and an Assignment statement. Which statement regarding this program is true?

A. The RETAIN statement is fine, but the value of City will be truncated to 8 bytes as the LENGTH statement has been omitted.
B. Both the RETAIN and assignment statement are being used to initialize new variables and are equally efficient. Method used is a matter of programmer preference.
C. The assignment statement is fine, but the value of City will be truncated to 8 bytes as the LENGTH statement has been omitted. D. City's value will be assigned one time, State's value 5 times.

my amswer is B
二维码

扫码加我 拉你入群

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

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

关键词:question Quest Est STI TIO different following regarding question assigned

沙发
sunnygeng 发表于 2010-2-9 10:07:34
Answer B is the best answer

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-31 08:30