In reply to irene.

In EG 8.1 and later, the data sets close automatically after just a short period of idle time. The data set locks are released quickly, so the need to close ALL data at once is minimized. That said, you can use File->Close All Items. And you can right-click on any tab and select Close, Close Others, or Close All.