全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1332 0
2012-06-10
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?
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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