libname test "D:\zhongxin\db2\test";
libname dwdb odbc dsn=dwdb uid=db2admin pwd=sas123?;
data test.test000;
set dwdb.test_data;
run;
proc sql noprint;
create table dwdb.test_cnt as
select count(*) as cnt from dwdb.test_data;
quit;
libname dwdb clear;
LIST APPLICATION SHOW DETAIL
GET SNAPSHOT FOR APPLICATION APPLID *LOCAL.DB2.090407024610
libname dwdb clear;
db2level
LIST APPLICATION SHOW DETAIL
GET SNAPSHOT FOR APPLICATION APPLID *LOCAL.DB2.090413062807
libname test "D:\zhongxin\db2\test";
libname dwdb odbc dsn=dwdb uid=db2admin pwd=sas123?;
data test.test000;
set dwdb.test_data;
run;
SQLState '57011' and errorCode '-964'错误解决方法
作者: 来源: 发布日期:2008-05-22
1.SQLState '57011' and errorCode '-964'
原因:数据库的日志文件已满
解决方法:修改日志文件大小(加大),增加日志文件个数,增加辅助日志文件个数(三个修改参数可以任意选择)
查看数据库的配置参数:get db cfg for
日志文件大小(4KB) (LOGFILSIZ) = 1024 (每个日志文件大小为1024*4KB=4MB)
主日志文件的数目 (LOGPRIMARY) = 3
辅助日志文件的数目 (LOGSECOND) = 1
修改数据库的配置参数:update db cfg for
using
修改日志文件大小:update db cfg for using LOGFILSIZ 4096
修改主日志文件个数:update db cfg for using LOGPRIMARY 6
修改辅助日志文件个数:update db cfg for using LOGSECOND 10
阅读(785) | 评论(0) | 转发(0) |