Tsystem component unknown error

Five Stars

Tsystem component unknown error

Hi All,
I have a talend job which contains only one component-tsystem. The shell script is working perfectly fine while I run in putty which will copy from FTP location to temp location and some data quality. In the end it will calculate the count of files in temp location and display it. If I run it in Talend until the count, the code is working fine. But the count is showing as null. If I comment the count and run the code in talend, the job is executing fine.
Is it a talend limitation?. I'm using talend 7.0.1 big data enterprise edition.
Regards,
Sri
Sixteen Stars TRF
Sixteen Stars

Re: Tsystem component unknown error

What is the "count" made of?

Can you give some more details?


TRF
Five Stars

Re: Tsystem component unknown error

Thanks for quick response.

Count is made of file file format extension. 

we are using "lftp" command to fetch the count of files in the temp location and source location if its matching or not. 

 

Regards,

Sri 

Eleven Stars

Re: Tsystem component unknown error

Can you show us the tsystem setting ?

When you say Count is displayed NULL , it is in Talend Studio or Unix Machine ?

 

 

 

 

Regards
Abhishek KUMAR
Five Stars

Re: Tsystem component unknown error

Hello,
In talend studio the count is showing as null but in Unix it works fine.
The issue got resolved by using the tssh component and it was displaying the count.
Regards,
Sri

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 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

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog