使用PROC DOCUMENT创建测试如下:
ods listing ;
ods document name=test(write);
proc report data=sashelp.prdsal3 contents=' Country wise Product and Actual SALE';
columns country product actual ;
define country / display;
define product / display ;
run;
ods proctitle=on;
title 'This is a simple PROC TABULATE procedure';
proc tabulate data=sashelp.prdsal3 ;
class country product ;
var actual;
table country * product , actual / contents='SALE actuals';
run;
ods document close;
ods listing;
proc document name=test;
list / levels=all;
run;
ods listing close;
Here is the listing:
ods listing;
proc document name=test;
list / levels=all;
run;
ods listing close;
Listing of: \Work.Test\
Order by: Insertion
Number of levels: All
1 Dir
2 \报告#1目录
3 \报告#1报告#\报告#1表
4目录
5 \表格#1报告#1目录
6 \表#1 \报告#1表#1表
使用此代码获取错误:
ods html file='c:\documents and settings\ANA\Output\ODS_contents_TEST.html';
proc document name=test;
replay ;
run;
ods html close;
NOTE: PROCEDURE DOCUMENT used (Total process time):
real time 24.64 seconds
cpu time 0.06 seconds
432 proc document name=test;
433 replay ;
434 run;
ERROR: Requested function is not supported.
435 ods html close;
NOTE: Remote submit to WINDOWS complete.
可能是什么问题