当前位置:首页> >关于proc format的问题

关于proc format的问题

2023-04-24 09:41:54

楼主: 甲基橙crads
120 2

[学习分享] 关于proc format的问题 [推广有奖]

  • 1关注
  • 0粉丝

硕士生

3%

还不是VIP/贵宾

-

威望
0
论坛币
389 个
学术水平
4 点
热心指数
9 点
信用等级
0 点
经验
1430 点
帖子
68
精华
0
在线时间
114 小时
注册时间
2016-2-23
最后登录
2018-8-5

楼主
甲基橙crads 发表于 昨天 21:45 |只看作者 |倒序
书上说
To use the JOBFMT format in a subsequent SAS session, you must assign the libref Library again.
     libname library 'c:\sas\formats\lib';
     data ... ;
SAS searches for the format JOBFMT in two libraries, in this order:

the temporary library referenced by the libref Work
a permanent library referenced by the libref Library.
我在实际操作中却始终报错,提示找不到相应的format,这个怎么办,求解,代码的报错如图

关键词:实际操作 怎么办 sas

沙发
甲基橙crads 发表于 昨天 21:48 |只看作者
补充一张截图,这是SAS OnlineTutor Basic里面写的。

藤椅
whymath 发表于 昨天 23:17 |只看作者
如果只是自己写代码做一些研究,没有必要连格式要存到永久逻辑库。

将proc format 后面的 library = SASCB.a 去掉就可以了。
友情链接