Table of Contents

Search

  1. Preface
  2. Workflows
  3. Workflow Variables
  4. Workflow Parameters
  5. Cluster Tasks
  6. Command Task
  7. Human Task
  8. Mapping Task
  9. Notification Task
  10. Gateways
  11. Workflow Recovery
  12. Workflow Administration

Developer Workflow Guide

Developer Workflow Guide

Importing a Command Task from PowerCenter

Importing a Command Task from PowerCenter

You can import a Command task from PowerCenter into the Model repository.
If you import a Command task, consider the following information:
You can add multiple commands within a PowerCenter Command task. The Developer tool has a single field for adding all the commands for the Command task.
In PowerCenter, you can specify multiple commands within a Command task. In the Developer tool, a single field contains all the commands.
Check if you have selected or deselected the Fail Task if Any Command Fails session property before importing the Command task.
Before you import a Command task from PowerCenter into the Model repository, check whether you have selected the
Fail Task if Any Command Fails
session property in PowerCenter or not. The import process might append either a double ampersand (&&) or a single semicolon (;) at the end of each command except the last command based on the session property.
If you have disabled the
Fail Task if Any Command Fails
session property for the Command task, the import process appends each command except the last one with a semicolon in the Developer tool. For example,
<first_command>; <second_command>
.
If you have enabled the
Fail Task if Any Command Fails
session property for the Command task, the import process appends each command with a double ampersand (&&) in the Developer tool. For example,
<first_command>&& <second_command>
.

0 COMMENTS

We’d like to hear from you!