Re: Catch the line Number that's being processed from fileinput in tMAP
I have a similar problem (but with Java). I have a tFileInputDelimited followed by a tMap (connected by a Main connection). Within the tMap I need to catch the current line number of the tFileInputDelimited. I used: ((Integer)globalMap.get("tFileInputDelimited_1_NB_LINE")) but it crashes at runtime with a Null Pointer Exception. I think this is because the NB_LINE is defined "after" the tFileInputDelimited input loop and not "during" the loop. Someone can tell me if it's possible to catch the current line number during the loop?