Is it possible to delete the file contents from a text file using TDL?

Yes, it is possible using the TDL Procedural File Input and Output capabilities.  You have to open the file in write mode and truncate the content using the action TRUNCATE FILE .