Hi Gus,
Can u pls tell me
How can u Call the Shell Scripting/Unix Commands in Job
Sequence?

Answers were Sorted based on User's Feedback



Hi Gus, Can u pls tell me How can u Call the Shell Scripting/Unix Commands in Job Sequence?..

Answer / kiran

hai vijay..,

by using Routines activity.u can access unix/shellscript

Is This Answer Correct ?    9 Yes 0 No

Hi Gus, Can u pls tell me How can u Call the Shell Scripting/Unix Commands in Job Sequence?..

Answer / pavan

Hi,

There are two scenarios where u myt want to call a script

Scenario 1(Dependency exists between script and a job):
Where a job has to be executed first then the script has to
run, upon completion of script execution only the sec job
has to be invoked. In this case develop a sequencer job
where first job activity will invoke the first job then
using Execute command activity call the script u would
desire to invoke by typing "sh <script name>" in the
command property of the activity, then with the other job
activity call the second job.

Scenario 2: (Script and job are independent) : In this case
right in your parallel job say job1, under job properties u
can find "After-job subroutine" where u need to
select "ExecSH" and pass the script name which you would
like to execute. By doing this once the job1 execution
completes the script gets invoked. The job succeeding the
job1 say job2 doesnt wait for the execution of the script.

Is This Answer Correct ?    5 Yes 0 No

Hi Gus, Can u pls tell me How can u Call the Shell Scripting/Unix Commands in Job Sequence?..

Answer / madhav

hi can u explain in depth

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Stage Interview Questions

I am having two tables called MASTER and DETAIL. I want to insert records to both tables. But one condition is that whenever the insert for MASTER table is success then only the records will inserted into the DETAIL table, otherwise abort the job. How can u design this job?

1 Answers   TCS,


Explain entity, attribute and relationship in datastage?

0 Answers  


How you Remove the Dataset in Unix?

5 Answers  


hi, how would i run job1 then job 3 , then job2 in a sequence of job1 ,job2,job3. Thanks sunitha

6 Answers   CTS,


My input has a unique column-id with the values 10,20,30.....how can i get first record in one o/p file,last record in another o/p file and rest of the records in 3rd o/p file?

2 Answers   Wipro,






What is Fastly Changing Dimension?

6 Answers   TCS,


Explaine the implimentation of scd's in ds indetail, please send me step by step procedure to perform scd's 1,2,3. Please replay for this, Thanks in advance

0 Answers  


What is the precedence of stage variables,derivations, and constraints?

0 Answers  


Hi , Today 1000 records updated, tomorrow 500 records updated how to find that?

4 Answers   Wipro,


1.When did 8.1 parallel came into existence? 2.What is the difference between 7.5 and 8.1?

2 Answers   Mind Tree,


How to create a file using vi editor? 2)how to delete a file in vi editor? 3)How to connect the server datastage to unix? what r the command lines we r using? 4)30 jobs r runnig in unix i want to find out my job. how to do this? give me command?

0 Answers   Wipro,


What is the differentiate between data file and descriptor file?

0 Answers  


Categories