Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have create one job with some context variable(values will changes over execution).
after end of the job i want load the context variable into a file using tPostJob.
How to do it?
Thanks
shree
Thanks @bshree88,for your confirmation.
Can you please accept my solution, This allows others to see what has worked.
Thanks,
Sachin
Lets share and learn!
Hi @bshree88
You can use tContextDump, as shown below,
Please accept solution if you think it helps you, Thanks.
Thanks,
Sachin
Hi bshree88,
You can use tFixedflowInput as shown below,
Please accept as solution if it helps you
Thanks,
Abhi529
tfixedflowinput properties as,
Hi Sachin,
Can you show me the tFileOutputDelimited properties.
and one more there few context variables, the values of those variables changing at run time. i need to capture those values and store into file.
some other jobs i need to use this context variable values using tcontextload components.
Thanks
shree
Hi Abhi529,
Can you show me the tFileOutputDelimited properties.
and one more there few context variables, the values of those variables changing at run time. i need to capture those values and store into file.
some other jobs i need to use this context variable values using tcontextload components.
Thanks
Shree
Hi Shree,
tFileInputDelimited has basic properties set as
File Name, Filed Seperator
as you are capturing context variable in post jobs, you will get updated values of variables, as you mentioned variables are changing run time.
In another JOB.
u can use same created file and load the context variable in some another job using tContextLoad.
But Schema should be Key Value as shown below.
Please accept the solution if it helps you.
Thanks,
Sachin D.
Thanks Sachin.
Sound good it's working fine.
Regards
Shridhar
Thanks @bshree88,for your confirmation.
Can you please accept my solution, This allows others to see what has worked.
Thanks,
Sachin
Lets share and learn!
Hi bshree88,
For your information,
here is the tFileOutputDelimited properties..
and schema is,
Hi Sachin,
After completion of job is file is created. But it is not capturing latest values before compilation of job.
Please find the attached file for your references.
Thanks
Shree