Hi,
I have scenario to load data based on column "Company" value. i.e. if Company value is "ABC" then output row will insert in that Abc.txt file as delimiter "|" . and if "ABC.txt" file not exist then it would create new and load data into it. if value in company field will change new file with that value (company) should create and load that row into that destination file.
refer image 3 for source data schema,
I have prepared data flow, please find it in attachment. using tsetglobalvar I am assigning company value to global variable and using this variable value for destination file creation. (see image 1 and 2)
using tJavaRow for debugging the global variable value up to tjavaRow it works properly but issue comes in tFileOutput destination, it shows "null" for global variable "cmpy".
Could any one please give the reason why it shows null?
Thanks in advance!!