Sorry for the long preamble but I need to explain what I see happening :_ I inherited an application that was not very well designed or written but is too complex an critical to make wholesale changes. The way it works is that :-
1) Server A loads a cumulative log into an SFS (file control) directory. Every time it sees the log has increased in size it uploads the new log overwriting the previous one (because it is cumulative). 2) Server B is looking in the SFS directory for log that are larger than it previous position pointer and it will then process the remaining lines of the log. 3) Server A creates lock files before it overwrites a log and erases them afterwards. Server B does not create any lock file when it starts to examine the log. 4) There are (infrequent) occasions where Server A is not only unable to copy the log to the SFS directory but this condition persists permanently until the server is recycled. So far I have not been able to trap what is happening (it is infrequent) but I think it is something to do with an SFS lock condition that is not being cleared. A re-IPL of the server does clear the problem. The questions I have are :- a) Has anyone any more detailed idea what may be happening - and how to programmatically resolve it.? b) If I got Server A to rename the log and then erase it before uploading the new one - what would happen to Server B if it was reading the log at the time? Would I risk a long running lock as a result of a failed ERASE? Any thoughts or guidance would be welcome. Colin Allinson VM Systems Support Amadeus Data Processing GmbH IMPORTANT - CONFIDENTIALITY NOTICE - This e-mail is intended only for the use of the individual or entity shown above as addressees. It may contain information which is privileged, confidential or otherwise protected from disclosure under applicable laws. If the reader of this transmission is not the intended recipient, you are hereby notified that any dissemination, printing, distribution, copying, disclosure or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this transmission in error, please immediately notify us by reply e-mail or using the address below and delete the message and any attachments from your system. Amadeus Data Processing GmbH Geschäftsführer: Eberhard Haag Sitz der Gesellschaft: Erding HR München 48 199 Berghamer Strasse 6 85435 Erding Germany