on 08-28-2006 5:42 PM
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.
Venu,
Prakash has given you a few options, but , can you actually give us the entire requirements?
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
One option would be to use BPM, where you check the conition that if the date is current and you are receiving the first file then you create else you append for that day.
you will just have to do some twist for creating the flag and two file adapters one with option of create and other for append.
Regards
Vijaya
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.