cancel
Showing results for 
Search instead for 
Did you mean: 

File Reciver adapter - Variable Substitution

Naama
Participant
0 Kudos

Hi all,

i am creating a file with dynamic file name.

My structure looks like this:

Row - 0-unbound (all the data)

FileName - 1

I don't want the file name to appear in the file I just want it for the Variable Substitution.

so in the content conversion i use only the row.fieldFixedLengths

but in the file i get an extra empty line because of the file name.

Thanks,

Naama.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Its better to go for Adapter specific attributes with dynamic configuration. That will avoid you from usage of Filename field in target structure.

Refer - Dynamic Configuration for file name

Thanks

swarup

bhavesh_kantilal
Active Contributor
0 Kudos

Why dont you use the Adapter Specific Message Attributes to set the filename dynamically.

Even when you use the CUT parameter in the file content conversion you will always end up with a extra blank line.

Regards,

Bhavesh

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

If your scenario is file to file the adviceof Bhavesh is Right.

if not the solution you are applying is right too, but as you say you will have a black line at the end of file

Thanks

Rodrigo