How do you ensure that data has been flushed before the file is available to a consumer. Do I need to lock/unlock the file?
For example: 1) I pass somefilename.txt.tmp to SYSCS_EXPORT_QUERY 2) After the procedure return I rename file somefilename.txt so it can be consumed. Do I need to do this?
