How to count number of rows affected (created/updated) by tMySQLSCD..?
Is there a way to know the number of rows that an SCD component (::such as tMySQLSCD) affects? (::affect meaning updates and/or creates)
I tried to put a 'tFlowMeter' after a tMySQLSCD, but that doesn't work since the tMySQLSCD does not output a Main Row.
Thanks and cheers!
-Enrique
Hi, did you get a chance to get this, I am trying to get the number of rows updated and inserted using the tscd component, if so please let me know. thanks in advance.
Hi,
There should be two variable available after the component runs: NB_LINE_UPDATED and NB_LINE_INSERTED accessible through ((Integer)globalMap.get("tMySqlSCDOutput_1_NB_LINE_INSERTED"))
Hope this helps.
Regards,
Arno
No these variables are not per se visible in the console. You have to use e.g. a tWarn component (switch level to Info) and here you can use these variables combined with a nice text.
And a good advise: Start learning what you use. Your questions let me think you have nothing studied from the help material and I strongly suggest start learning Java.