Installing file definitions

This procedure uses the CEMT and CEDA transactions to install a FILE definition. As an alternative to CEMT, you can use the EXEC CICS SET FILE command in a user-written transaction to disable and enable the file.

Procedure

  1. If the file already exists, ensure that it is closed and disabled.
    Use the following command:
    CEMT SET FILE(filename) CLOSED DISABLED
  2. Install the file definition.
    Use the following command:
    CEDA INSTALL GROUP(groupname) FILE(filename)
  3. Optional: When you have successfully installed the group containing the file, use CEMT to open and enable the file.
    Perform this step only if the file is not already defined as ENABLED, and you want to open the file explicitly. Use the following command:
    CEMT SET FILE(filename) OPEN ENABLED