Sie sind auf Seite 1von 2

Stopping or Aborting the Workflow

By Yanamala

You can specify when and how you want the Integration Service to stop or abort
a workflow by using the Control task in the workflow. After you start a workflow,
you can stop or abort it through the Workflow Monitor or pmcmd. You can issue
the stop or abort command at any time during the execution of a workflow.

You can stop or abort a workflow by performing one of the following actions:

Use a Control task in the workflow. For more information, see Working with
the Control Task.
Issue a stop or abort command in the Workflow Monitor. For more
information, see Monitoring Workflows.
Issue a stop or abort command in pmcmd. For more information, see the
PowerCenter Command Reference.

You can also stop or abort a task within a workflow. For more information about
stopping the Session task, see Stopping and Aborting a Session.

How the Integration Service Handles Stop and Abort

When you stop a workflow, the Integration Service tries to stop all the tasks that
are currently running in the workflow. If the workflow contains a worklet, the
Integration Service also tries to stop all the tasks that are currently running in the
worklet. If it cannot stop the workflow, you need to abort the workflow.

The Integration Service can stop the following tasks completely:

Session
Command
Timer
Event-Wait
Worklet

When you stop a Command task that contains multiple commands, the
Integration Service finishes executing the current command and does not run the
rest of the commands. The Integration Service cannot stop tasks such as the
Email task. For example, if the Integration Service has already started sending
an email when you issue the stop command, the Integration Service finishes
sending the email before it stops running the workflow.

The Integration Service aborts the workflow if the Repository Service process
shuts down.

Stopping or Aborting a Task

You can stop or abort a task within a workflow from the Workflow Monitor. When
you stop or abort a task, the Integration Service stops processing the task. The
Integration Service does not process other tasks in the path of the stopped or
aborted task. The Integration Service continues processing concurrent tasks in
the workflow. If the Integration Service cannot stop the task, you can abort the
task.
When you abort a task, the Integration Service kills the process on the task. The
Integration Service continues processing concurrent tasks in the workflow when
you abort a task.

You can also stop or abort a worklet. The Integration Service stops and aborts a
worklet similar to stopping and aborting a task. The Integration Service stops the
worklet while executing concurrent tasks in the workflow. You can also stop or
abort tasks within a worklet.

Stopping or Aborting a Session Task

If the Integration Service is executing a Session task when you issue the stop
command, the Integration Service stops reading data. It continues processing
and writing data and committing data to targets. If the Integration Service cannot
finish processing and committing data, you can issue the abort command.

The Integration Service handles the abort command for the Session task like the
stop command, except it has a timeout period of 60 seconds. If the Integration
Service cannot finish processing and committing data within the timeout period, it
kills the DTM process and terminates the session.

Viewing a Workflow Report

You can view PowerCenter Repository Reports for workflows in the Workflow
Manager. View the Workflow Composite Report to get more information about
the workflow tasks, events, and variables in a workflow. When you view the
report, the Designer launches the Data Analyzer application in a browser window
and displays the report.

Before you run the report in the Workflow Manager, create a Reporting Service in
the PowerCenter domain that contains the PowerCenter repository. Use the
PowerCenter repository that contains the workflow you want to report on as the
data source when you create the Reporting Service. When you create a
Reporting Service for a PowerCenter repository, Data Analyzer imports the
PowerCenter Repository Reports.

The Workflow Composite Report includes information about the following


components in a workflow:

Tasks. Tasks contained in the workflow.


Link conditions. Links between objects in the workflow.
Events. User-defined and built-in events in the workflow.
Variables. User-defined and built-in variables in the workflow.

To view a Workflow Composite Report:

1.In the Workflow Manager, open a workflow.


2.Right-click in the workspace and choose View Workflow Report.

The Workflow Manager launches Data Analyzer in the default browser for the
client machine and runs the Workflow Composite Report.

Das könnte Ihnen auch gefallen