How do we call shell scripts from informatica?


Answer posted by Staline on 2005-05-27 00:42:44: You can use a Command task to call the shell scripts, in the following ways:  
1. Standalone Command task. You can use a Command task anywhere in the workflow or worklet to run shell commands.  
2. Pre- and post-session shell command. You can call a Command task as the pre- or post-session shell command for a Session task. For more information about specifying pre-session and post-session shell commands

Showing Answers 1 - 7 of 7 Answers

Staline

  • May 27th, 2005
 

You can use a Command task to call the shell scripts, in the following ways:  
1. Standalone Command task. You can use a Command task anywhere in the workflow or worklet to run shell commands.  
2. Pre- and post-session shell command. You can call a Command task as the pre- or post-session shell command for a Session task. For more information about specifying pre-session and post-session shell commands

  Was this answer useful?  Yes

sithusithu

  • Jan 12th, 2006
 

There is a task named command task, using that you can write or call Shell script, DOS commands or BAT files

Enjoy Guys

Cheers

Sithu

  Was this answer useful?  Yes

sithusithu

  • Jan 17th, 2006
 

 

There is a task named command task, using that you can write or call Shell script, DOS commands or BAT files

Enjoy Guys

Cheers

Sithu

  Was this answer useful?  Yes

Hi,

There are two ways to do this,they are as follows:

1)we can use a command task anywhere  in the workflow or worklet to run the shell commands.

2)In the session task,we can call reusable command task  in the pre-session post_session property to run shell commands.

                           or

we can write pre-session or post-session commands in the session.

we can use server variables and session variables in the pre and post-session shell commands, but not in the standalone command task.

praveena

  Was this answer useful?  Yes

Hanuma

  • Jul 24th, 2011
 

You can use a Command task to call the shell scripts, in the following ways:
1. Standalone Command task. You can use a Command task anywhere in the workflow or worklet to run shell commands.
2. Pre- and post-session shell command. You can call a Command task as the pre- or post-session shell command for a Session task. For more information about specifying pre-session and post-session shell command

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions