Skip to Content
author's profile photo Former Member
Former Member

Dynamic file names on file based processing

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Jun 17, 2008 at 04:13 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 04:22 AM

    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!!!!!!!!

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 05:14 AM

    Many thnz . The problem is resolved

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.