#1 2012-07-02 15:18:44

Ayyandurai
Member
Registered: 2012-05-10
Posts: 17

Logging context variable values

Tags: [context]

Hi all,

    In my job has four context variables. I will assign the value for the context variables When I execute the job .
Now I am logging job flows into the file using tstatcatcher component, Now I need to log the context variable values into the file.


How to log the context variables value into file??

Please guide me in this...

Thanks

Ayyandurai

Offline

#2 2012-07-03 05:15:29

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: Logging context variable values

Hi

Here is the normal way for saving context variables into a file.

tFixFlowInput--main-->tFileOutputDelimited

Let's say we have a context variable called context.new1.
In the 'Values' of tFixFlowInput, you can type context.new1 for a String column.

Regards,
Pedro


Only Paranoid Survive.

Offline

#3 2012-07-03 16:12:48

paul_oxy
New member
Registered: 2012-07-03
Posts: 1

Re: Logging context variable values

Thank you for the response it was so helpful for me wink


accessoire informatique
vidéosurveillance
equipement sécurité

Offline

#4 2013-01-31 10:04:23

rsalcedo
New member
Registered: 2010-07-06
Posts: 1

Re: Logging context variable values

Thanks by my side too.

Offline

#5 2013-02-11 17:11:47

Mike_West
Member
Registered: 2011-05-27
Posts: 37

Re: Logging context variable values

You may also consider using tContextDump which will output ALL context variable settings

Offline

Board footer

Powered by FluxBB