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
Can you explain players in datastage?
Differentiate between Symmetric Multiprocessing and Massive Parallel Processing?
Different ways a project can be moved to production ?...example ….export-import and Version control.
how to implement scd2 in datastage 7.5 with lookup stage
how to read 100 records at a time in source a) hw is it fr metadata Same and b) if metadata is nt same?
How to write a expression to display the first letter in Caps in each word using transformer stage ? Please let me know ASAP Thanks in advance...
What are some prerequisites for datastage?
Differentiate between odbc and drs stage?
Describe stream connector?
On which interface you will be working as a developer?
im new to this tool im now at project plz tell me step by step process how to design plz help me i wnt to go with exp for job plz give me d proper design and explination
State the difference between an operational datastage and a data warehouse?
hi iam new to this tooliam cmpltied to know abt datastage so now iam in project tell me whole step by step what iam doing iwnt to go with exp so plz hlp me pals
What is difference between join, merge and lookup stage?
Define APT_CONFIG in Datastage?