Closing a data table

A data table is closed in the same way as for any CICS® file.

Use one of the following methods:
  • Explicitly, by a CEMT or EXEC CICS request issued by the user.
  • Implicitly, when CICS is shutdown normally.
All the rules and options for closing a CICS file also apply to a data table. In particular:
  • The rules about the quiescing of current users of the file apply (except that the file can be closed even when a transaction that is running in an AOR is in the middle of a browse sequence).
  • For a user-maintained data table, if the data table is defined as recoverable, all units of work that have changed the data table must complete before the data table can be closed.

The data space storage that is used for the data table records is freed as part of the close operation. If a file is reopened after it has been closed, the processing is the same as if the file had not been previously opened.