Remove data via ODBC from Log Viewer

We are looking for a way to automate archiving our clients Log Viewer files. The issue we are having has to do with getting access to delete data from the QLM master log file from an ODBC connection. Reading the data has not given us any issues, but when we try deleting we get the message below.

 

ERROR [42000] [Simba][SimbaEngine ODBC Driver][DRM File Library]Access denied.

I assume the DLL is locked and will not allow edits.  This makes sense but is there a better way to archive Log data then someone going into Log Viewer manually?