cancel
Showing results for 
Search instead for 
Did you mean: 

how to change the file name dynamically when we are doing pass through scenario(WIth out ESR)

0 Kudos

HI

i am doing pass through scenario using FTP in both side,my requirement is when i pick a file from source it need to change run time.i am sending .dat file

but i don't want to .dat as extension and need to add file name like "input file name without extension+constant+Julio date+constant+HHMMSS"

example :

input file name :  Details##.dat

(## will change according to in put file name )

OUTPUT FILE NAME:  Details##.f1.in,d14139.t193029

(Details##---->actual file name

f1.in-->constant

d--> constant

14139.--->Julio date

t--->constant

193029---->HHMMSS

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Amaresh,

Without mapping its difficult to achieve, you have to create custom adapter module or you could try below steps.

1. Configure your receiver file adapter to create files with same source file name

2. Write script to rename the file based on your requirement.

3. Call the script in Run OS command after message processing in receiver file adapter.

Regards,

Praveen

0 Kudos

Hi Amaresh,

Check the below thread it may be helpful

Regards,

Sudhasree