OPEN DATASET still opens file when file is being FTP'd .. ie. being written to disk..
It has come to our attention that the OPEN DATASET command will open a file without error (and therefore allow reading of the records in the file ..) even when the file is in the process of being Ftp'd to the input/source directory. This is resulting in partially read files. Does anyone know how we can "check" (we were hoping the OPEN DATASET command would return an error if the file was not fully written ..) if a file is in the process of being written so we don't start reading/processing the file ?