TMP files are generated on SEPM servers when it processes the logs received from the client machines and the .err files are generated when the SEPM server has issues in processing or forwarding the logs to the database server.
You can find the “dat.err” files in the following locations,
D:\Program Files (x86)\Symantec\Symantec Endpoint Protection Manager\data\inbox\agentinfo
D:\Program Files (x86)\Symantec\Symantec Endpoint Protection Manager\data\inbox\content
D:\Program Files (x86)\Symantec\Symantec Endpoint Protection Manager\data\inbox\log
D:\Program Files (x86)\Symantec\Symantec Endpoint Protection Manager\data\inbox\log\behavior
D:\Program Files (x86)\Symantec\Symantec Endpoint Protection Manager\data\inbox\log\client
D:\Program Files (x86)\Symantec\Symantec Endpoint Protection Manager\data\inbox\log\packets
D:\Program Files (x86)\Symantec\Symantec Endpoint Protection Manager\data\inbox\log\security
D:\Program Files (x86)\Symantec\Symantec Endpoint Protection Manager\data\inbox\log\system
D:\Program Files (x86)\Symantec\Symantec Endpoint Protection Manager\data\inbox\log\tex\AVMan
D:\Program Files (x86)\Symantec\Symantec Endpoint Protection Manager\data\inbox\log\traffic
The .ERR file can be delted as such, else you can have a .BAT script and have is shcheduled to do the JOB say once in a month or 2.