Adding a task
Use the stored procedure ADMIN_TASK_ADD to define new scheduled tasks. The parameters that you use when you call the stored procedure define the schedule and the work for each task.
About this task
The request and the parameters are transmitted to the administrative task scheduler that is associated with the Db2 subsystem where the stored procedure has been called. The parameters are checked and if they are valid, the task is added to the task lists with a unique task name. The task name and the return code are returned to the stored procedure for output.
At the same time, the administrative task scheduler analyzes the task to schedule its next execution.