Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

what is the use of skid in reporting?

2427


Nls stands for what in datastage?

1238


What are the main differences you have observed between 7.x and 8.x version of datastage?

1134


how to export or import the jobs in .ISX file

1254


Can you highlight the main features of ibm infosphere information server?

1126


What is difference between server jobs & parallel jobs?

1091


Field,NVL,INDEX,REPLACE,TRANSLATE,COLESC

1467


Describe the main features of datastage?

1126


What is the difference between in process and inter process?

1203


How a source file is populated?

1115


WAT TYPE OF PL/SQL QUERRYS USED IN DATASTAGE

3693


Difference between ‘validated ok’ and ‘compiled’ in data stage?

1352


how to run a sequential file stage in parallel if the stage is used on the TARGET side

1795


What are the types of views in datastage director?

1828


Explain usage analysis in datastage?

1224