Question: How delete records from TSQ
Answer: The delete works at the queue level. You can delete an entire queue but not individual entries in it.
DELETEQ TS QUEUE(name)
If you want entries to be deleted as they are read then use a transient data queue instead of a temporary storage queue.
This article written by Stephen Chapman, Felgall Pty Ltd.