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: 
Anonymous
Not applicable

Unable to get count of rows after using nbline from tDBInput. Getting NULL instead

I want to get the nb_line of my tdbinput component, but ((Integer)globalMap.get("tDBInput_1_NB_LINE")) is printing null. There are records being pulled out of database but unable tio get its nbline.pls help me find a solution

Labels (3)
2 Replies
billimmer
Creator III
Creator III

Did you checking the nbline value after a OnComponentOK or OnSubjobOK?  What is your job design?

Anonymous
Not applicable
Author

I tried two ways.

1. I have added tjava through onComponentOk from tOracleInput and tried to read nbvalue..it is null

2. I have added tflowtoiterate after toracleinput and tried to fetch tflowtoiterate count, it was null again.

 

I am trying to read data and iterate on it to create batches to send for processing.