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

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

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download 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