楼主: Imasasor
6904 9

[问答] The format PVALUE was not found or could not be loaded [推广有奖]

  • 1关注
  • 64粉丝

VIP

已卖:215份资源

学科带头人

33%

还不是VIP/贵宾

-

TA的文库  其他...

超哥喜欢的文章

威望
1
论坛币
46528 个
通用积分
32.8376
学术水平
238 点
热心指数
246 点
信用等级
231 点
经验
37162 点
帖子
849
精华
3
在线时间
2235 小时
注册时间
2012-7-4
最后登录
2026-1-21

初级学术勋章 初级热心勋章 初级信用勋章 中级热心勋章 中级学术勋章

楼主
Imasasor 发表于 2013-5-30 14:03:02 |AI写论文
888论坛币
  1. data a;
  2. input x;
  3. format x pvalue6.4;
  4. cards;
  5. 0.09
  6. ;
  7. run;
复制代码


1    data a;
2    input x;
3    format x pvalue6.4;
              ---------
              48
ERROR 48-59: The format PVALUE was not found or could not be loaded.

4    cards;

NOTE: The SAS System stopped processing this step because of errors.
WARNING: The data set WORK.A may be incomplete.  When this step was stopped there were 0 observations and 1 variables.
NOTE: DATA statement used (Total process time):
      real time           0.29 seconds
      cpu time            0.03 seconds

6    ;


7    run;


输出格式pvalue,以前没问题的,不知道突然怎么的,就出现了找不到输出格式的问题,求助
版本SAS 9.2 TS level 2M2
但试了一些其它的格式如z6. , percent10.2; yymmdd10.;
都是可以的啊,为什么就这个pvalue的找不到
并且,直接用proc 步计算统计量p值的时候,p值不能正确显示,也会出现上述的waring
34   proc univariate data=sashelp.class;
35   var age;
36   run;

WARNING: 格式“pvalue6.4”加载失败!
NOTE: “PROCEDURE UNIVARIATE”所用时间(总处理时间):
      实际时间          0.45 秒
      CPU 时间          0.06 秒



补充:强烈怀疑SAS的格式目录或文件被损坏,想知道格式文件存在什么地方,找别人电脑上的拷贝过来替换一下。




最佳答案

pobel 查看完整内容

关于sas自带format的文件存放位置: data test; set sashelp.vformat; where fmtname="PVALUE"; put path= objname=; run; 附件中是 9.1.3 中PVALUEw.d对应的文件,不知能否解决楼主问题。
关键词:Loaded pvalue format FORMA Could
欢迎加入亚太地区第一R&Python数据挖掘群: 251548215;

沙发
pobel 在职认证  发表于 2013-5-30 14:03:03
关于sas自带format的文件存放位置:


data test;
   set sashelp.vformat;
   where fmtname="PVALUE";
   put path= objname=;
run;

附件中是 9.1.3 中PVALUEw.d对应的文件,不知能否解决楼主问题。

uwfpvalu.zip
下载链接: https://bbs.pinggu.org/a-1343881.html

7.64 KB

本附件包括:

  • uwfpvalu.dll

和谐拯救危机

藤椅
boe 发表于 2013-5-30 14:42:10
重启SAS。。。。试试其他格式。。。。
9.3木问题
Gorgeous girl , I love !

板凳
zhou.wen 发表于 2013-5-30 18:28:56
If you try to use a SAS data file that has permanent formats but you don't have the format library, you will get errors like this.

    ERROR: The format $MAKEF was not found or could not be loaded.
    ERROR: The format FORGNF was not found or could not be loaded.

Without the format library, SAS will not permit you to do anything with the data file.  However, if you use options nofmterr; at the top of your program, SAS will go ahead and process the file despite the fact that it does not have the format library.  You will not be able to see the formatted values for your variables, but you will be able to process your data file.  Here is an example.

    OPTIONS nofmterr;
    libname in "c:\";

    PROC FREQ DATA=in.auto;
       TABLES foreign make;
    RUN;
Practice Is The Best Teacher!

报纸
zhou.wen 发表于 2013-5-30 18:52:46
  1. options fmtsearch = (myfmtlib myfmtlib.cat1);
复制代码
In this example, SAS supplied formats would be searched first, followed by work.formats, then myfmtlib.formats, and finally myfmtlib.cat1.
Practice Is The Best Teacher!

地板
Imasasor 发表于 2013-6-2 18:01:20
哥,没有解决我的问题,我就是上面那个代码,就是pvalue6.这样的格式找不到,原来是可以的,现在不行了
欢迎加入亚太地区第一R&Python数据挖掘群: 251548215;

7
Imasasor 发表于 2013-6-2 18:04:32
zhou.wen 发表于 2013-5-30 18:52
In this example, SAS supplied formats would be searched first, followed by work.formats, then myfmtl ...
哥,没有解决我的问题,我就是上面那个代码,就是pvalue6.这样的格式找不到,原来是可以的,现在不行了
pvalue6.4是SAS自带的格式,不是我定义的
然后我是怀疑是不是我用360清理电脑的时候不小心把SAS格式文件给删掉了
但是我其它的格式是能用的啊,用谷歌找了半天,也没找到相关解决方案

就因为一个pvalue格式问题,我以前搞的宏程序都用不了了
欢迎加入亚太地区第一R&Python数据挖掘群: 251548215;

8
dxystata 发表于 2013-6-3 08:18:52
NOTE: “SAS 初始化”所用时间:
      实际时间          21.48 秒
      CPU 时间          1.24 秒

1    data a;
2    input x;
3    format x pvalue6.4;
4    cards;

NOTE: 数据集 WORK.A 有 1 个观测和 1 个变量。
NOTE: “DATA 语句”所用时间(总处理时间):
      实际时间          1.60 秒
      CPU 时间          0.01 秒


6    ;
7    run;

程序没有问题,SAS重装一下试试!

9
zhengbo8 发表于 2013-6-3 08:24:58

10
Imasasor 发表于 2013-6-3 10:52:48
pobel 发表于 2013-5-30 14:03
关于sas自带format的文件存放位置:
想请教你一个问题:为什么有一种人,什么问题都懂?
欢迎加入亚太地区第一R&Python数据挖掘群: 251548215;

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

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-2-1 03:16