执行失败检查日志有如下报错。
2021-06-09-14.46.11.868000-420 I169775H265 LEVEL: Error PID : 1412 TID : 1800 FUNCTION: DB2 Tools, DB2 administration server, SchedulerThread_run, probe:5 DATA #1 : String, 50 bytes Cannot complete scheduler thread's initialization! 2008-05-01-14.46.16.868000-420 I170042H386 LEVEL: Error PID : 1412 TID : 1800 FUNCTION: DB2 Tools, DB2 administration server, MDUtility::connectMD, probe:10 DATA #1 : Sint32, 4 bytes -300 DATA #2 : Sint32, 4 bytes 0 DATA #3 : Sint32, 4 bytes 0 DATA #4 : String, 7 bytes TOOLSDB DATA #5 : String, 8 bytes SYSTOOLS DATA #6 : String, 4 bytes NULL
根据IBM官方建议重新绑定db2schema.bnd包,重启db2管理进程后无报错,后续观察执行正常。参考官网:https://www.ibm.com/support/pages/db2-scheduler-thread-initialization-error-db2diaglog