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

File scenario

Can anybody suggest a solution for following:

1) This is a FILE-XI-FILE scenario.

2) I need to create one new file everyday that gets appended every 15 minutes as per design.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Aug 28, 2006 at 07:29 PM

    Hi,

    Method 1: Using BPM you can keep collecting the files and accumulate it and then save it.

    Method 2: You need to have 2 scenario

    Let assume you wanted to fetch the file from folder "Source" and place it in folder "Target"

    Scenario 1 : Fetch the every 15 min and append it in with a file in the "temp" folder

    Scenario 2 : Will keep polling a dummy file in Test mode. In the Receiver adapter call using OS commands call a batch file.

    In Batch file

    1. Rename the file in the "temp" folder say from temp.txt to temp_1.txt

    2. Create a empty file with the same name temp.txt

    3. Copy the temp_1.txt to the "Target" folder

    Configure this scenario in such a way that this is executing once a day.

    Note : In case if you have XML files then go with Method 1.

    Thanks,

    Prakash

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 29, 2006 at 03:12 AM

    Venu,

    Prakash has given you a few options, but , can you actually give us the entire requirements?

    Regards,

    Bhavesh

    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.