Previous Topic: Configure DCM Statements

Next Topic: Control Options Sharing

Replace a DCM

Sometimes a DCM must be replaced. The DCM replacement may include a definition of a new event or a change to the definition of an event. When ENF is recording events to the database, the database table associated with the changed event must be deleted. Instructions are provided along with the new DCM PTF having a ++HOLD status.

Important! Before you submit any jobs to replace a DCM, consider the following:

To utilize the new DCM

  1. Reference the new DCM in the ENF startup JCL under DD statement CAIDCM.

    Important! If you are running ENF with control option NODB, Stop and Restart ENF to pick up the new module or proceed to the next step to delete the Database definitions for the old DCM.

  2. Prepare batch jobs CASQL004 and CADB001 located in the CAW0JCL data set by editing and specifying a job card and the appropriate Datacom execution libraries in the Set JCL statements.

    CASQL004 must have the name of the specific table to be deleted in the SQL Drop Table statement.

    Optionally, CAS9DCMR utility can be used to generate the DROP TABLE statements. For more information on CAS9DCMR - DCM MAPPER, see the Reference Guide.

  3. Shutdown ENF with the STOP ENF operation command.

    Important! If you are running ENF with an internal CA Datacom/AD MUF, after ENF is down, you must start the CA Datacom/AD MUF in its own address space before submitting the job that deletes the old DCM's database definitions.

  4. Submit CASQL004.

    If successful you may restart ENF. When ENF is restarted, it will dynamically create the new DCM's database definitions.

  5. If the CASQL004 batch job completes in error, the database has ENF table information remaining in its internal cache. Submit batch job CADB001 to ready the database for another Drop Table.
  6. After CADB001 completes, resubmit job CASQL004 and restart ENF.

Note: For more details, see the ENF Batch Database Query and Administration Appendix.