powered by simpleCommunicator - 2.0.51     © 2025 Programmizd 02
Форумы / IBM DB2, WebSphere, IMS, U2 [игнор отключен] [закрыт для гостей] / Центр задач DB2 (v8.2)
2 сообщений из 2, страница 1 из 1
Центр задач DB2 (v8.2)
    #39943095
saskevich_ni
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Здравствуйте
При выполнении задачи копирования из центра задач, произошел сбой, что привело к накоплению выполняющихся задач.
как остановить "бегущего человечка" и как отменить эти все задачи?
расписание -> выключить - не помогает
...
Рейтинг: 0 / 0
Центр задач DB2 (v8.2)
    #39943170
Mark Barinstein
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
saskevich_ni,

Добрый день.

Попробуйте сделать, как описано в How to remove hanging jobs in Scheduler .

How to remove hanging jobs in Scheduler
Question & Answer

Question

Scheduled tasks appear as running in the Scheduler even though they have completed. How to explicitly remove these 'running' tasks.

Cause

When DAS is brought down while a scheduled task is running, the status of the task might
stay in 'running' state even though the job has already finished or was aborted.

Answer

To remove the hanged 'running' tasks from the Scheduler:

1. Locate the 'running' record(s) by getting the corresponding task ID, which can be obtained from the Task Center right most column of main window.

2. Stop the DAS.

3. Identify the tools catalog database and schema by running: db2 get admin cfg

Sample output:

Tools Catalog Database (TOOLSCAT_DB) = TOOLSDB
Tools Catalog Database Instance (TOOLSCAT_INST) = DB2
Tools Catalog Database Schema (TOOLSCAT_SCHEMA) = SYSTOOLS

Connect to Tools catalog db (TOOLSDB in this sample) and delete the task by running these commands:

db2 connect to TOOLSDB
db2 "delete from SYSTOOLS.MDTASKEXECTY00 where taskID00=XXX"

4. Restart DAS and the Scheduler to check if the 'running' jobs are removed. If not, proceed to step 5.

5. Make sure DAS is stopped again.

6. Issue these commands:
db2 connect to TOOLSDB
db2 "update SYSTOOLS.MDTASKTYPE00 set NUMBEROFEXECUTIONS00=0 where taskID00=XXX"
db2 "update SYSTOOLS.MDTASKTYPE00 set STATE00='0' where taskID00=XXX"
db2 "update SYSTOOLS.MDTASKTYPE00 set CURRENTSTARTDATETIME00=NULL where taskID00=XXX"

7. Restart DAS and the Scheduler. The 'running' tasks should be removed.
...
Рейтинг: 0 / 0
2 сообщений из 2, страница 1 из 1
Форумы / IBM DB2, WebSphere, IMS, U2 [игнор отключен] [закрыт для гостей] / Центр задач DB2 (v8.2)
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]