[resolved] tFIlerowCount (How Can store the output of trow in file )

Highlighted
Six Stars

[resolved] tFIlerowCount (How Can store the output of trow in file )

Hi All,
Using tfilerowCount , I got the count but I need to store that value in my file undersome column
ex:
FIleName , Recordcount , loaddate
xyz, 7,2015/12/12
which component will help to do this scenario ... please help .......................
Thanks In advance ..
Mohini

Accepted Solutions
Community Manager

Re: [resolved] tFIlerowCount (How Can store the output of trow in file )

Hi mohini 
As I told you in this topic, you just need to use tFixedFlowInput to get the value after populating the number of lines, and insert it to a file. eg:

Hope it helps you!
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business

View solution in original post


All Replies
Moderator

Re: [resolved] tFIlerowCount (How Can store the output of trow in file )

Hi Mohini,
The tJava component  will meet your needs.
Please take a look at the component reference with a related scenario:TalendHelpCenter:tFileRowCount.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Six Stars

Re: [resolved] tFIlerowCount (How Can store the output of trow in file )

Hi xdshi,
I was able to print the value , but I m not able to insert it inot file  .thanks
regards
MOhini
Community Manager

Re: [resolved] tFIlerowCount (How Can store the output of trow in file )

Hi mohini 
As I told you in this topic, you just need to use tFixedFlowInput to get the value after populating the number of lines, and insert it to a file. eg:

Hope it helps you!
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business

View solution in original post

Six Stars

Re: [resolved] tFIlerowCount (How Can store the output of trow in file )

thanks shong , I was able to get the value ..

thank you sooo much .........

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