Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Create a file with the tMap reject

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.

Labels (3)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

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.

View solution in original post

2 Replies
TRF
Champion II
Champion II

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.

Anonymous
Not applicable
Author

Thank you for your answer,

That's what i'm doing I just thought maybe there was another way.