You are not logged in.
I am new to the Talend forum. I am reading in a file positionally and I was curious if there is a variable that indicates the end of the file has been reached. I have been debugging and I cannot seem to find it. What I did attempt to do was to keep a counter going in a tJavaFlex component and compare it to nb_line_tFileInputPositional_1 variable, however, somehow my counter is incremented before nb_line_tFileInputPositional_1, which does not make any sense to me either. Isn't this the variable that keeps track of the number of lines read in?
Any advice would be great!
The nb_line_tFileInputPositional_1 variable is only avaliable after the component end.
So, you can this var with the 'onsubjobok' link, eg:
On tJava, you can use the nb_line_tFileInputPositional_1 variable.
I do see how that can work, however, the files I am dealing with are way to large for me to wait until the file read in has completed. It is definitely a solution for smaller projects though. Does Talend not have a variable that keeps track of the end of the file?