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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Dazbellboy
Contributor III
Contributor III

[resolved] Use Multiple outputs with tJavaRow

Hi everyone,
I am trying to get the data from a flat file (in this case there are no delimiters, they are fixed rows), for example:

DATEVALUEDESCRIPTION
2017020320000EFFECTIVEPAY

In a tJavaRow I am applying some validations of structure and depending on the result, I want to send the data to insert it into an ORACLE database. So, for example, I validate that the text "20170203" is a valid date and if it is a valid date I want to send it by an output X to store it with an prepared statement in some table, but if it is not a valid date then I want to send it by another Output to perform an insert with another component in a different table that will log the errors. However, I can not find the way to specify more than one output with the componet.

Could anyone help me, please?

Labels (2)
10 Replies
Anonymous
Not applicable

It really is up to you. I was being very literal and thought you wanted to do it all in one component. You can do it all with the tMap but it might be easier to understand doing it your way 🙂