2021年1月5日星期二

How to capture the last record in a file

I have a requirement to split a sequential file into 3 parts, Header, Data, Trailer. I have the header and Data worked out.

Is there a way, in a Transformer, to determine if you have the last record in a sequential file? I tried using LastRow() but that gives me the last row for each node. I need to leave parallelize on.

Thanks in advance for any help.

https://stackoverflow.com/questions/65589802/how-to-capture-the-last-record-in-a-file January 06, 2021 at 11:27AM

没有评论:

发表评论