Skip to Content
avatar image
Former Member

Help for Receiver side File naming

hi frnds,

I have a requirement where the receiver file has to be named as

PI_Outbound_Order_Timestamp

i selected the add timestamp option in Adapter.

it is of format

yyyyMMdd-HHmmss-sss

can we modify this timestamp coz i want the timestamp to be yyyyMMddHHmmssms(milliseconds in 2 nums)

Do we require any UDF for this?

Edited by: prabhas465 on Feb 7, 2011 7:29 AM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 07, 2011 at 06:35 AM

    yes UDF can do this ..... in file channel you cannot modify format of timestamp

    Check below blog

    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14

    above blog in taking file name from payload but you have to change as per your requirement that is timestamp.

    Add comment
    10|10000 characters needed characters exceeded