cancel
Showing results for 
Search instead for 
Did you mean: 

changing filename in configuration

Former Member
0 Kudos

hi there,

my question is can we change filename of a file in the configuration without using IR(that means no mapping was done)? the scenario is a simple file to file , the only problem is that the filename must be changed.

is it possible to do this without using a udf(dynamic configuration)?

thanks.

ali

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

yes it can be done , in sender communication channel give the file name which ur getting and use " set adapter specific identifiers and file name ticked in " and in receiver communication channel give the desired file name and in advanced tick the adapter specific message adapters

with regards

Srinivas

Former Member
0 Kudos

thanks abhishek and srnivas .

however in my scenario the sender channel is picking 3 different files that is three files with different names. if i do as you stated, srinivas, all the output files will have the same name, rite?

e.g

file1.csv ---> file1.csv

file2.csv -


> file.csv

file3.csv -


> file3.csv

as it can noticed onlyfile2.csv must be changed to file.csv. is it possible to do the above in the configuration itself without using an UDF?

thanks

former_member200962
Active Contributor
0 Kudos

Not possible....there is no place where we can write a logic to read the incoming filename and then decide how to change output filename.

Regards,

Abhishek.

Answers (2)

Answers (2)

Former Member
0 Kudos

thanks folks

former_member200962
Active Contributor
0 Kudos

Not possible.....though in ID you check the ASMA checkbox and then the FileName, the input comes from IR (mapping).

Regards,

Abhishek.