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,