Calling .bat files using Tsystem component

Six Stars

Calling .bat files using Tsystem component

Hi,

 

At first I took .bat files of jobs and stored in a folder. 

I created a main job in which I am calling these 10 jobs("A",1,2,3,4,5,6,7,8,9) by using TSystem component. Here I am running jobs in sequence i.e., one after another.

Now my requirement is once 1st Job "A" is completed, I need to run rest of the jobs in parallel.

Is there any way to achieve this. 

Please help me on this.

 

Regards

ShaX


Accepted Solutions
Seven Stars

Re: Calling .bat files using Tsystem component

Hi !

 

Edit : I read a bit too fast your problem.

 

Here is a solution (I'm facing the same actually) :

 -Create a master job With the job "A" and "B" inside

 -Create the job B and put all your 10 job as is, and so the job B will end when all your jobs are finished

View solution in original post


All Replies
Six Stars

Re: Calling .bat files using Tsystem component

Any help on this is much appreciated.

Six Stars

Re: Calling .bat files using Tsystem component

Have you tried tParallelize? This sounds like a perfect use case for it.

Have your .bat for "A" run initially in a subjob, then onSubjobOk, use a tParallelize to run the rest at the same time
Six Stars

Re: Calling .bat files using Tsystem component

Hi @Mivox ,

 

Thanks for the reply, 

Am using TOS but not Enterprise. TParallize is not available.

 

Regards

Shax

Six Stars

Re: Calling .bat files using Tsystem component

Any help on this....

Seven Stars

Re: Calling .bat files using Tsystem component

Hi !

 

Edit : I read a bit too fast your problem.

 

Here is a solution (I'm facing the same actually) :

 -Create a master job With the job "A" and "B" inside

 -Create the job B and put all your 10 job as is, and so the job B will end when all your jobs are finished

View solution in original post

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog