在DataStage中job不能删除,如果试着编译又出现如下错误:
Error calling subroutine: DSR_EXECJOB (Action=1); check DataStage is set up correctly in project ETUDES
(Subroutine failed to complete successfully (30107))

+

(40503) A call to an OLE server has failed, or a runtime error occured within the ole itself.

解决办法:
1 首先运行命令:DELETE FROM DS_JOBS WHERE NAME = 'JobName'
2 再运行DS.CHECKER ,注意要运行DS.CHECKER必须要有exclusive access到project
,通过如下命令可以看到有谁还连接到了服务器:netstat -a |grep dsrpc