2008-5-30 13:08
GKW7132
程序运行时连接DB2报错
在HP64位的程序运行时遇到些错误,好象是fork的进程无法连接数据库,报错如下:
SRV:MTaskCntrl PID:27210 TIME:2008/05/22 09:55:14
FILE:db_api.sqc LINE:59
SQLCODE: [-752] [0]
ERRMSG: SQL0752N Connecting to a database is not permitted within a logical unit of work when the CONNECT type 1 setting is in use. SQLSTATE=0A001
SQLSTAT: SQLSTATE 0A001: The CONNECT statement is invalid, because the process is not in the connectable state.
请问有何建议
谢谢