• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » [resolved] does tSystem wait until the command are finished?

#1 2012-01-04 14:43:51

mpa
Member
Company: Thinking Solutions
Registered: 2010-12-17
Posts: 257
Website

[resolved] does tSystem wait until the command are finished?

Hi,

I'm planning on using the tSystem component for the first time and I was wondering something before i'll try to implement it.

What i'm going to do (or try :> ) is delete the RTM models from my cognos server every once in a while to make some space on the server. ( as these files get big after some time)

But before I can safely delete these files the cognos server must be stopped.

So I was thinking something like:
tSystem (Command to stop cognos server)
--(onsubjobok)--
tfilelist --(iterate)-- tfileDelete
--(onsubjobok)--
tSystem (Command to start the cognos server again)

Now my question is will Talend wait until the tSystem has been executed fully? (because it can take a some time to complete)
Or will it start the next part of my job while the tSystem is still running? Because I had a similar problem a long time ago in vbscript if i remember correctly.

If anyone has the answer for this it would be much appreciated. :-)


Kind Regards,
Mario De Pauw

Offline

#2 2012-01-04 15:45:40

JohnGarrettMartin
Member
Registered: 2009-01-07
Posts: 781

Re: [resolved] does tSystem wait until the command are finished?

yes, it will block until the system call returns. back-grounding the process will allow you to return before the command is complete.

Offline

#3 2012-01-05 08:55:06

mpa
Member
Company: Thinking Solutions
Registered: 2010-12-17
Posts: 257
Website

Re: [resolved] does tSystem wait until the command are finished?

JohnGarrettMartin,

Thanks for your reply. That was the answer I was looking for.
I will test it today :-)

Kind regards

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » [resolved] does tSystem wait until the command are finished?

Board footer

Powered by FluxBB