IBM VERSION 9 Frozen Dessert Maker User Manual


 
To use the Task Center, you must first create a tools catalog. If you did not create a
tools catalog when you installed DB2, you can select Tools —> Tools Settings —>
Scheduler Settings and create one now.
Use the Task Center to run tasks, either immediately or according to a schedule,
and to notify people about the status of completed tasks. The Task Center includes
functionality from the Script Center in previous DB2 versions, plus additional
functionality.
A task is a script, together with the associated success conditions, schedules, and
notifications. You can create a task within the Task Center, create a script within
another tool and save it to the Task Center, import an existing script, or save the
options from a DB2 dialog or wizard such as the Load wizard. A script can contain
DB2, SQL, or operating system commands.
For each task, you can do the following:
v Schedule the task
v Specify success and failure conditions
v Specify actions that should be performed when this task completes successfully
or when it fails
v Specify e-mail addresses (including pagers) that should be notified when this
task completes successfully or when it fails
You
can specify conditional coding by creating task actions. Each task action
consists of a task and the action that should be performed on the task. For
example, task 1 could have the following task actions:
v If task 1 is successful, task action A enables the schedule for task 2.
v If task 1 fails, task action B runs task 3.
You
can also create a grouping task, which combines several tasks into a single
logical unit of work. When the grouping task meets the success or failure
conditions that you define, any follow-on tasks are run. For example, you could
Figure 8. Task Center window
Chapter 7. DB2 administration and development tools 51