If the database was just created check that CAW0JCL job AW1ID001 completed without errors. It is used to install the DATACOM/AD ENF database.
The problem can occur if ENF has previously run and already created some tables dynamically and then job AW1ID001 is run again without first following the steps below to delete the dynamically created tables.
In this situation the only solution is to re-create the Datacom MUF by running Datacom INSTJCL member AXNEW01 and then running CAW0JCL member AW1ID001.
If that is not the case, then follow the instructions to delete and redefine the DATACOM/AD ENF database in the Common Services documentation section Resolve Datacom/AD for CAIENF Customization Issues
Follow these steps:
- Before you start this procedure, review the the Important information about the Datacom/AD Multi-User Facility (MUF) in Customize Datacom/AD for CAIENF.
- Submit CAW0JCL member AW1AD001 to obtain a list of existing CAIENF database tables.
If no rows are found, go to step 4 to delete the CAIENF database.
- Edit and execute CAW0JCL member CASQL004 to drop all CAIENF tables.
This step is only required if the listing for job AW1AD001 indicated that rows were found.
The EVENT tables are dynamically installed at CAIENF startup when the RECORD(YES) ENFPARM control option has been specified.
Never drop an EVENT table while CAIENF is actively recording events. For more information, see the Important information about the Datacom/AD Multi-User Facility (MUF) in 'Customize Datacom/AD for CAIENF'.
The DROP TABLE statement renders the table obsolete. This action removes all versions and statuses of the table from the data dictionary databases, deletes the Directory definition, and deletes the data.
If CASQL004 returns an error, execute CAW0JCL member CADB001 to close all CAIENF tables then resubmit CASQL004.An error is returned if the database table information remained cached by the Datacom/AD address space.
- Edit and submit CAW0JCL member CADB003 to delete the CAIENF database definitions from Datacom/AD.
- Update the JCL SET statement for ADHLQ with the data set high-level qualifier that is used during the Datacom/AD installation for CUSLIB.
- Update the JCL SET statement for ADSHLQ with the data set high-level qualifier that is used during the Datacom/AD installation for CAAXLOAD.
Drop all the CAIENF tables before deleting the CAIENF database.
If the CAIENF database was partially installed, one or more database components could not exist and CADB003 indicates errors for the missing components. You can safely ignore such errors.
- Edit and submit CAW0JCL member CADB004 to delete the Datacom/AD directory definitions for CAIENF.
Only run this job when the step to define and initialize the Datacom/AD CAIENF database data sets found in CAW0JCL member AW1ID001 successfully initialized and updated the Datacom/AD CXX file with the CAIENF ENF0700 and IX0700 data set information.
- Update the JCL SET statement for ADHLQ with the data set high-level qualifier that is used during the Datacom/AD installation for CUSLIB.
- Update the JCL SET statement for ADSHLQ with the data set high-level qualifier that is used during the Datacom/AD installation for CAAXLOAD.
- Edit and submit CAW0JCL member CADB005 to delete the CAIENF database data sets.
This job only runs when the step to define and initialize the Datacom/AD CAIENF database data sets found in CAW0JCL member AW1ID001 successfully allocated the CAIENF ENF0700 and IXX0700 data sets.
- Update the JCL SET statement for ADHLQ with the data set high-level qualifier that is used during the Datacom/AD installation for CUSLIB.
- Re-install the CAIENF database using CAW0JCL member AW1ID001.
After redefining the database, ENF should start correctly.