To delete a query, you can:
select it in the Open or Save As dialog boxes (both from the File menu) and press the Delete key on your keyboard
locate the query in Windows Explorer and press the delete key. LANSA queries have a file extension of LCQ.