Four Stars

Re: Row Count From tMap?

Still not seeing exactly what you are talking about. Can you be very specific? Is it tStatCatcher Statistics?

5 REPLIES
Four Stars

Re: Row Count From tMap?

Let's say my tMap always has one output, call it "out". How do I "click on the link and turn on the monitoring for the link"? Is that done inside the tMap config? Elsewhere?

Employee

Re: Row Count From tMap?

Click and select the link. And then look at the component tab.  There are options for turning on monitoring there.

Four Stars

Re: Row Count From tMap?

Yes, that option is there. Once enabled, though, how does one refer to that value in Java code? Using "tXMLMap_2_output_NB_LINE", for instance, does not work.

Four Stars Sah
Four Stars

Re: Row Count From tMap?

Just drag option text into the Editor
Four Stars

Re: Row Count From tMap?

"Just drag option text into the Editor"

 

Sorry, I don't follow. "Option text"? "Editor"?

 

To be clear: I have a tXMLMap component. It outputs data that gets inserted directly into a PostgreSQL database. I want to refer to the record count from the output of the tXMLMap component in the same way that I can refer to the record count inserted into the PostgreSQL component like this:

((Integer) globalMap.get("tPostgresqlOutput_1_NB_LINE"))