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

Logging processing time of a job

Hi,
I am looking at logging processing info of a job into flat files.
I used tChronometerStart/Stop to measure time taken by my job and it works perfectly fine but is it there a way I can store it in a flat file?
Thanks.
Labels (2)
3 Replies
Anonymous
Not applicable
Author

Hi,
I am using tStatCatcher for capturing the log in a flat file.
Thanks
Anonymous
Not applicable
Author

Hi
There is a global variable ((Long)globalMap.get("tChronometerStop_1_DURATION")) available on tChronometerStop component, this variable counts the duration time between tChronometerStart and tChronometerStop. For example:
tChronometerStart
|
onsubjobok
|
a processing of a subjob
|
onsubjobok
|
tChronometerStop
|
tFixedFlowInput--main--tFileOutputDelimited
on tFixedFlowinput, define a column called duration, and set its value as :
((Long)globalMap.get("tChronometerStop_1_DURATION"))
Shong
Anonymous
Not applicable
Author

Hi Shong,
Thanks a lot!! I am able to capture processing time 0683p000009MACn.png