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.
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