sp system调用报SQL ERR 668 ISAM ERR 127
环境是informix 9.4 FC5 hp-ux 11.11在dbaccess里面直接测试存储过程调用没有问题
SP 内容:
create procedure sp_test(cmd char(200)) returning int;
......
system 'echo "'||cmd||'" >> /home/ap/test/test.log';
system 'WORKDIR=/home/ap/test;export WORKDIR;cd /home/ap/test/bin;'||cmd;
......
end
end procedure;
但是在前台界面,用jdbc去调的话报错:
SQL ERR 668: System command cannot be executed.
ISAM ERR 127: no primary key
jdbc版本用的是9。3的老版本的,应用程序运行在weblogic集群环境下,用连接池访问数据库
环境变量都配置在.profile里面了
请帮忙分析一下
页:
[1]