Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Is it possible to modify a context variable within a job, so I can use the newest value of the context variable the next time I run the job?
I would like to use this feature to store the last time the job has run btw.
Thanks.
Use tContextDump to overwrite the context file with the current values for all the context variables.
Use tContextDump to overwrite the context file with the current values for all the context variables.
This view is usefull only when running jobs from the Studio.
As soon as you'll run the jobs from the command line or a scheduler, you'll have to manage 1 or more context files which can be overwritten at runtime bt the jobs.
During the development cycle, it's a good practice to use a context file to avoid any surprrise after job deployment.
Have a look to the documentation or search for "implicit context" or something like that.
Share your job design and tJava piece of code
The code of tJavaRow is the following:
output_row.key = input_row.key;
output_row.value = input_row.value;
if(output_row.key.contains("date"))
{
output_row.value = "Hello";
}