Skip to Content
0
Former Member
Jul 12, 2012 at 06:18 AM

Need small on dynamic filename at Reciever Channel

10 Views

HI

I am working on Proxy to File scenario.

i have to send the data with a dynamic filename.

So i have written a UDF for this and able to send the data.

But problem here is UDF function i have given the filename as "TESTFILE_YYYYMMDDHHMMSS"

But need to send this as *.DAT format.

I think in UDF i can write a code like "TESTFILE_YYYYMMDDHHMMSS.DAT"

It would be fine.

But the Problem is I have to send one more file which will be blank file with extension of "TESTFILE_YYYYMMDDHHMMSS.TXT"

And one more thing here is the DATE and TIME should be same for the both the files like as below:

"TESTFILE_20120712114550.DAT"

"TESTFILE_20120712114550.TXT"

So am i proceeding in the right way by writing the UDF function. If correct how i can send the second file(Blank file) with same time.

one more thing is i tried at the Reciever Channel level appending the .DAT and .TXT for the files like below

%filename%.dat

%filename%.txt

Please advise.......