‎2006 Nov 23 1:19 PM
Hi,
We are designing an BDC upload program , which is to run every half hour .
The file used is an appended file with the number of records increasing .
Every half hour we need to read the same file ,how can we ensure how much
data has been previously read without using the count functionality .
Regards
‎2006 Nov 23 1:57 PM
Hi
How about going this way;
1. Create a backup file.
2. Process the original file.
3. Once done, open the backup file in appending mode and move the records to the backup file.
4. Remove the contents from Original File.
This way i guess, you can make sure that you are taking fresh records for every time the job is executed.
<b>My doubt:</b>
As it half-hourly job and records get appended continously through some source. How are you going to make sure that the source and your system are not trying to access the same file at same time???
Kind Regards
Eswar
‎2006 Nov 23 3:06 PM
Hi Eswar,
Really, iam observing for all last few days, you are maximum Contributing, That's really great. Hope you are not in India. Can i no, your mail id, Mine is manju.beedam@tcs.com
Thanks
manju.