× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




     Kevin,
     
     Is it possible to rename the transaction file then create an empty 
     file with the original name? Then you can FTP and process the 
     renamed file without wory of dups or lost transactions. The only 
     real problem I can see is if a record is added between the rename 
     and the creation of the new trans file. Rename and copy (from a 
     blank version of your trans file) is pretty fast, but unless you 
     can hold new transactions until the new file is in place, you'll 
     eventually have problems.
     
     hth
     eric.delong@pmsi-services.com


______________________________ Reply Separator _________________________________
Subject: FTP problem 
Author:  <MIDRANGE-L@midrange.com> at INET_WACO
Date:    7/5/00 4:46 PM


I have a text file on a Novell Server which is constantly being added to. I 
have an AS400 program queued to run every 5 minutes which will FTP from the 
AS400 and GET this file. I then need to clear the server file so that the 
next time I do a GET I'm only GETting new records. As there is no ftp 
command for clearing a file how can achieve this? I've thought of DELeting 
the file and then PUTting an empty version of it back on, but how do ensure 
that I don't delete any records added to it since the GET? I cannot risk 
missing out on any records that would otherwise be added to the server file 
while I am manipulating it. At the moment my only solution is to continually 
GET all the records and then decide on the AS400 whether or not they have 
already been processed, then clear the server file on a daily basis, after 
production is finished. The server file will have maximum 2000 records by 
the end of the day, so reprocessing the same data over and over will not 
impact the AS400 too much, but it's not an ideal solution. Does anybody know 
the 'ideal' solution?
     
TIA,
     
Kevin Corcoran.
IBS Lockheed Martin.
A world without string is a world of chaos. 
     


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.