• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Set a global var with a number of rows

#1 2010-12-17 15:11:06

Yoot
Guest

Set a global var with a number of rows

Hi, here is my problem :

I'm using a tLoop with a "while" condition, depending on the number of rows out of a tMap (number_of_rows > 0). The thing is I don't know how to get that number and put it in my globalVar.

Any ideas ?

Thanks.

#2 2010-12-17 15:52:20

Anon
Guest

Re: Set a global var with a number of rows

Look through the code tab. Most components insert a "<component_name>_NB_LINE" element to the globalMap which contains the row count for that component.

#3 2010-12-17 15:53:24

Yoot
Guest

Re: Set a global var with a number of rows

Sorry, I just found out that what I was looking for was actually in the var "****.NB_LINES" smile

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Set a global var with a number of rows

Board footer

Powered by FluxBB