楼主: smalllaugh
2191 2

[问答] 求助!2道SAS 123题中的题目 [推广有奖]

  • 0关注
  • 1粉丝

已卖:136份资源

讲师

6%

还不是VIP/贵宾

-

威望
0
论坛币
329 个
通用积分
11.7807
学术水平
1 点
热心指数
5 点
信用等级
1 点
经验
6586 点
帖子
204
精华
0
在线时间
555 小时
注册时间
2009-3-18
最后登录
2015-4-4

楼主
smalllaugh 发表于 2012-8-22 06:55:25 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
55 The following SAS program is submitted:
data work.flights;
destination = 'CPH';
select(destination);
when('LHR') city = 'London';
when('CPH') city = 'Copenhagen';
otherwise;
end;
run;
Which one of the following is the value of the CITY variable?
A. London
B. Copenh
C. Copenhagen
D. ' ' (missing character value)
  答案是B

59 The following SAS program is submitted:
data work.staff;
JobCategory = 'FA';
JobLevel = '1';
JobCategory = JobCategory || JobLevel;
run;
Which one of the following is the value of the variable JOBCATEGORY in the output data set?
A. FA
B. FA1
C. FA 1
D. ' ' (missing character value)
  答案是A

请问哪位高手能帮助解释一下这两道题?非常感谢!
二维码

扫码加我 拉你入群

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

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

关键词:destination Copenhagen following Character otherwise 123

沙发
stormhoof 发表于 2012-8-22 09:20:06
变量长度为第一次读入的字符串的长度,除非用length定义。

藤椅
6738431 在职认证  发表于 2012-8-22 12:31:32
1.png
2.png

2.png (23.51 KB)

2.png

1.png (23.91 KB)

1.png

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

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