Hi Gus,
Can u pls tell me
How can u Call the Shell Scripting/Unix Commands in Job
Sequence?
Answer Posted / 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 |
Post New Answer View All Answers
What is the difference between datastage and informatica?
What are the partitioning techniques available in link partitioner?
What are the some differences between 7.x and 8.x version of datastage?
Whats difference betweeen operational data stage (ods) and data warehouse?
explain about citrix scheduling tool in datastage
Demonstrate experience in maintaining quality process standards?
What is a merge?
1)what is the size of Fact table and dimension table? 2)how to find the size of Fact table and dimension table? 3)how to implement the surrogate key in transform stage? 4)write the configuration file path? 5)how many types of datasets explain? 6)diff b/w developed projects and migration projects? 7)how to delete the header and footer file of the sequencer file? 8)how can u call the parameters in DS in unix environment? 9) how much data ur getting daily ? 10)
disign the complex job in u r project?(they are aksing only complex job design and then data flow...)
A signal has a wavelength of 1 micro min in air.how far can the front of the wave travel during 1000periods?
client know skid info?
What are the steps needed to create a simple basic datastage job?
What steps should be taken to improve Datastage jobs?
What are sequencers?
How do you import and export the datastage jobs?