楼主: czswfue
4792 3

求教SAS高手 ODS无法输出图像? [推广有奖]

  • 0关注
  • 0粉丝

小学生

0%

还不是VIP/贵宾

-

威望
0
论坛币
0 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
26 点
帖子
3
精华
0
在线时间
4 小时
注册时间
2011-12-25
最后登录
2012-11-26

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
我运行程序如下:ods html  ;
   ods graphics on;

   proc autoreg data=cmb all;
      model r=  / nlag=2 method=ml;
      output out=p p=yhat pm=ytrend
                lcl=lcl ucl=ucl;
   run;

   ods graphics off;   
   ods html close;


结果显示为:
998  ods html  ;
NOTE: 正在写入 HTML Body(主体)文件: sashtml3.htm
999     ods graphics on;
NOTE: ODS Statistical Graphics will require a SAS/GRAPH license when it is declared production.
1000
1001     proc autoreg data=cmb all;
1002        model r=  / nlag=2 method=ml;
1003        output out=p p=yhat pm=ytrend
1004                  lcl=lcl ucl=ucl;
1005     run;

WARNING: 用 ODS 创建的统计图形显示在该版本中是试用功能。
Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.err to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.out to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
System.out not restored
Can't load class com/sas/tk/util/SetStandardOut.
System.err not restored
ERROR: Java 类生成异常。
Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.err to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.out to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
System.out not restored
Can't load class com/sas/tk/util/SetStandardOut.
System.err not restored
ERROR: Java 类生成异常。
Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.err to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.out to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
System.out not restored
Can't load class com/sas/tk/util/SetStandardOut.
System.err not restored
ERROR: Java 类生成异常。
Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.err to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.out to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
System.out not restored
Can't load class com/sas/tk/util/SetStandardOut.
System.err not restored
ERROR: Java 类生成异常。
Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.err to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.out to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
System.out not restored
Can't load class com/sas/tk/util/SetStandardOut.
System.err not restored
ERROR: Java 类生成异常。
Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.err to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.out to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
System.out not restored
Can't load class com/sas/tk/util/SetStandardOut.
System.err not restored
ERROR: Java 类生成异常。
Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.err to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.out to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
System.out not restored
Can't load class com/sas/tk/util/SetStandardOut.
System.err not restored
ERROR: Java 类生成异常。
Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.err to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
  Can't redirect System.out to SAS log.

Can't load class com/sas/tk/util/SetStandardOut.
System.out not restored
Can't load class com/sas/tk/util/SetStandardOut.
System.err not restored
ERROR: Java 类生成异常。
NOTE: 数据集 WORK.P 有 1215 个观测和 7 个变量。
NOTE: “PROCEDURE AUTOREG”所用时间(总处理时间):
      实际时间         5.38 秒
      CPU 时间         1.12 秒


1006
1007     ods graphics off;
1008     ods html close;


问题在哪里呢 ?怎么解决 ? 我是用的从论坛上下的版本?不是购买的正版
二维码

扫码加我 拉你入群

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

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

关键词:ods Statistical production statistica Procedure declared 运行程序 require method close

沙发
周二龙 发表于 2011-12-25 20:26:13 |只看作者 |坛友微信交流群
自己顶一下 上网找了两个解决方法都不行 悲剧啊
NOTE: ODS Graphics uses JAVA technology. If you encounter “ERROR: Java class generated an exception” it means
version 1.5 of the JRE has been installed on your system. To avoid this error and produce ODS graphics, use the following
fixes. If you do not need SUN’s Java JRE 1.5.0_02 installed then you uninstall this program using the add/remove programs
window from the windows control panel. Then you can install 1.4.1_02 from
http://java.sun.com/products/archive/j2se/1.4.1_02. If, however, you need to keep 1.5.0_02 installed, you can get SAS 9.1.3 to
work with it by taking the following steps. First, find the file called sasv9.cfg (this is typically found in the folder !sasroot\nls\en,
where !sasroot is the root directory in which SAS v9 resides). Before editing sasv9.cfg, copy it and rename one of the files
sasv9.old. Second, edit the file that is still called sasv9.cfg. Find the line containing the JREOPTIONS. Edit this line to
remove the option: -Xbootclasspath/p:!sasroot\core\sasmisc\sas.ads.webAFrt.jar
If the –JREOPTION parameter does not contain this parameter skip this step, but continue with the following steps. Still on
the JREOPTIONS line, modify the parameter –Dsas.jre=private to read -Dsas.jre=public and then save the file. Finally, find
the file !sasroot\core\sasexe\jldplgin.dll and rename it to !sasroot\core\sasexe\jldplgin.old

使用道具

藤椅
henn2010 发表于 2011-12-29 13:58:14 |只看作者 |坛友微信交流群
ods html 改为:ODS HTML3 BODY = 'c:\aaa.html'   gpath='C:\';

使用道具

板凳
czswfue 发表于 2012-1-3 02:14:42 |只看作者 |坛友微信交流群
谢谢 LS的 我已经解决了 因为我原来的JAVA没有卸载干净

使用道具

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

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

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

GMT+8, 2024-5-11 05:15