Shell scripts in sequencers

How you will call shell scripts in sequencers in datastage

Questions by nagakalyan   answers by nagakalyan

Showing Answers 1 - 0 of 0 Answers

tina123

  • Jul 10th, 2008
 

I hope u cant directly call a SQL file or UNIX shell script from job sequence....
Create a routine to call/run the script file. Then call this in job sequence using routine activity.

Note: It is job sequence and not sequencer. Sequencer is the name of an activity in Job sequences.

  Was this answer useful?  Yes

Shell scripts can be called in the sequences by using "Execute command activity".   In this activity type following command :

bash /path of your script/scriptname.sh

bash command is used to run the shell script.

"Execute command activity " is used to run a command from Unix.

bash /path of script/scriptname.sh is also a unix command.hence it can also be called from Execute command activity of a job sequence.

  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