Hi RJRFT
Suggets you do a search on this error message:
There is a file sharing violation. A different process might be using the file. [ MaskedFilePath.myox ]
From memory MYOB believe this is caused by some other software that is also accessing the MYOB file at the same time. Ensure any software such as antivirus, backup, dropbox syncing etc is disabled while the file is in use, or set to ignore the folder where the MYOB company file is stored. Or change the schedule so this happens after hours when the file is not in use.
Regards
Gavin