楼主: astrozscore
1147 0

[原创博文] 问一道Advanced的题 [推广有奖]

  • 0关注
  • 9粉丝

博士生

73%

还不是VIP/贵宾

-

威望
0
论坛币
1544 个
通用积分
0
学术水平
2 点
热心指数
2 点
信用等级
2 点
经验
7255 点
帖子
267
精华
0
在线时间
374 小时
注册时间
2012-3-5
最后登录
2013-12-21

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
Test Inside Advanced的130题里第99题:

libname A 'SAS library reference';
libname F 'SAS library reference';
options fmtsearch=(A F.X);

What is the second location searched for formats?

A. F.X
B. A.FORMATS
C. WORK.FORMATS
D. SAS supplied formats

Answer: C

我从SAS帮助查到一下:

Details
The WORK.FORMATS catalog is always searched first, and the LIBRARY.FORMATS catalog is searched next, unless one of them appears in the FMTSEARCH= list.
If a catalog appears in the FMTSEARCH= list, the catalog is searched in the order in which it appears in the list. If a catalog in the list does not exist, that particular item is ignored and searching continues.

我开始以为答案是 F.X因为它出现在fmtsearch=的第二个位置。 但是答案应该是WORK.FORMATS因为虽然F library已经定位,但是自动查找的是F.FORMATS而不是F.X, 所以F.X被忽视后fmtsearch自动去找WORK.FORMATS然后LIBRARY.FORMATS?
二维码

扫码加我 拉你入群

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

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

关键词:Advanced ADVANCE advan VANCE ance reference supplied library appears formats

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

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-5-1 00:10