15/10/2023
Command to remove all data links even if it is referenced
copy this to command line, then save, close and reopen the file.
(dictremove (namedobjdict) "ACAD_DATALINK")
Take care, just use this when you don't have any table linked to a datalink