Command task
Command task is used to execute Shell scripts or standalone shell commands. You can define one or more commands or scripts in a command task. If you define multiple command or scripts in the same command task, the task executes the commands in a sequence.
You can define Unix/Perl commands for Unix servers or DOS command for Windows servers. If your Informatica server is installed on Unix Operating system, you will be able to execute Unix commands. If the Informatica server is installed in Windows, then you can use DOS commands.
Creating a Command task
To create a command task in Workflow Manager or Task Developer, follow these steps:
- In Workflow Manager or Task Developer, go to
Tasks
|Create
(refer to the screenshot shown in the Creating Session Task section). - From the list of tasks, select Command task, and specify the name of the command task,
cmd_TASK_NAME
. For our reference, we are usingcmd_COPY_FILE
as the command task name. Click onCreate
and then onDone
:
- The task appears...