cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic file names on file based processing

Former Member
0 Kudos

Hi Experts

we are doing file to file scenario using file based processing not on message based ( No Reposiitory Objects - No mapping , no interface objects ).

we need to pickup the file name from the source directory and place it in the target directory with the same file names.

the source file name is added with the time stamp and client number,

Since there no mapping , we can't use the dynamic file concepts.

Please help me with the possible solutions

thnz for the help in advance.

Cheers

Faheem

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Many thnz . The problem is resolved

Former Member
0 Kudos

Hi Faheem,

You will be using the dynamic config when u want to map the input file name to a field in the target message.

As per ur requirement ASMA will do :

try this:

In both the sender and receiver file adapters , select Adapter Specific Identifiers and File Name

In the receiver file adapter give some dummy value for file name and directory.

In the runtime, the source file name and directory will be used as the target file name and directory.

You need not use any UDF or a mapping here

Hope it helps!!!!!!!!

former_member190389
Active Contributor
0 Kudos

You can set Adapter specific attributes i guess ....in Sender File CC as well as Receiver File CC in File adapter for parameter FileName.. just check the checkboxes in both CC... you will get same file name.