Assign content of file to context variable

Highlighted
Four Stars

Assign content of file to context variable

Content of .dat file i.e 20181231 to be assigned to context variable.For that key variable how to write the value column if .dat file present in 'c:/viks' folder.
Employee

Re: Assign content of file to context variable

Please make use of a tFileinputDelimited component to read the data from the file and a tContextLoad component to assign the context values read from the input file to the context variables at runtime.

Four Stars

Re: Assign content of file to context variable

There is context file (config.txt) having context variable 'Dim'.During
runtime i need to read data from period.dat file containing date (20180212).

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now