w_garrett
Member
I have a UBE that is reading and processing an external flat file. Is there a way that I can detect whether the flat file is in use to prevent concurrent processing. The ube creates a "progress" file when it starts whose existence prevents any subsequent run. However, if someone has the file open in say notepad, I am unable to detect this and the process runs to completion. The open file BSFN did not return an error. I also tried copying the file to another folder and deleting but BSFN B4700230 did not report any errors. Is there a BSFN I can use to give me exclusive read access