Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

NB_LINE_INSERTED is null On Subjob?

I am trying to count the number of rows inserted during a job, but I can't seem to get a value from ((Integer)globalMap.get("tMSSqlOutput_1_NB_LINE_INSERTED")) other than null.

 

Any suggestions0683p000009M9YO.png0683p000009M9YT.png

Labels (4)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Thank you to anyone who took the time to look at this. I figured out the issue.

 

I was apparently using the tDBOutput component this whole time, and not the TMSSqlOutput component. As soon as I changed the tFixedFlowInput component value to ((Integer)globalMap.get("tDBOutput_1_NB_LINE_INSERTED")) It began to work!

 

0683p000009M9PX.png0683p000009M9Yi.png

View solution in original post

3 Replies
manodwhb
Champion II
Champion II

Are you doing Insert operation in tdboutput?
Anonymous
Not applicable
Author

The "Action on Data" is "Update or Insert". Is that an issue?

 

Edit: I tried changing it to "Insert" and that did not seem to have any affect. It still returns the following result.

 

0683p000009M9Sr.png

Anonymous
Not applicable
Author

Thank you to anyone who took the time to look at this. I figured out the issue.

 

I was apparently using the tDBOutput component this whole time, and not the TMSSqlOutput component. As soon as I changed the tFixedFlowInput component value to ((Integer)globalMap.get("tDBOutput_1_NB_LINE_INSERTED")) It began to work!

 

0683p000009M9PX.png0683p000009M9Yi.png