Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everyone,
I'm using the expression filter in the tmap component and then create two delimited files ( one output and another with the rejects ).
Is there a way to make the tmap create only one of the files ?
For example if a line is rejected the job creates a reject.csv only and if everything is OK it creates the output.csv
Hope it's clear.
I'm afraid you have to check this after the tMap component.
Using tFileRowCount you can know how rows there is in each file and decide the one you have to delete or not.
I'm afraid you have to check this after the tMap component.
Using tFileRowCount you can know how rows there is in each file and decide the one you have to delete or not.
Thank you for your answer,
That's what i'm doing I just thought maybe there was another way.