Introduction:
With CA Datacom/DB, the definitions for the various database entities – Databases, Areas, Tables, Element, Keys, and Fields – are maintained in the Datadictionary database. Once these entities are defined, it is necessary to catalog them to the Directory (CXX) so they can be used by application programs.
There are three methods listed here (in order of their ease of use) to perform this catalog function. All three assume that the database is closed in the Multi-User Facility if it already exists.
Instructions:
The online command is the easiest to issue, and will process right away assuming the database is already closed. The command can be issued directly from the command line, or you can fill the names out on the DDOL panel, which you can get to in one of three ways:
The next easiest command is to use the DDUPDATE program in batch, because this is the most familiar program to those performing DBA roles. Many firms will already have JCL and procs defined to use this program, and it could be as simple as entering the -UPD DATABASE..., 1000 CATALOG and -END functions into the input stream.
Finally, the DDCFBLD program will also perform these same functions, but it is not as commonly used outside of making changes to the Datadictionary entities themselves.
Additional Information:
For more information about using the above Datadictionary functions, please refer to the following Guides for your version:
CA Datacom/DB version 14.02 Datadictionary Online Reference Guide
CA Datacom/DB version 14.02 Datadictionary Batch Reference Guide
CA Datacom/DB version 15.00 Datadictionary Online Reference Guide
CA Datacom/DB version 15.00 Datadictionary Batch Reference Guide
As always, please contact CA Technologies support for CA Datacom if you have further questions.