Previous Topic: Delete StructuresNext Topic: Display Structures


Disable and Enable Structures

Use the DISABLE function to mark a structure or substructure as being unavailable for use by other CA products. For example, when a structure or substructure is disabled when it is being modified, it is not available for use by CA Ideal or CA Dataquery. This is useful if the CA Datacom Datadictionary definition of the structure no longer agrees with the physical data. The use of this facility is dependent on the version level of the product. Check the product documentation.

CA Datacom Datadictionary automatically performs the DISABLE function when it executes the ADD, COPY, CREATE, DEFINE, MODIFY, RESTORE, and TRANSFER functions and when you update an occurrence in the structure through the attribute maintenance function.

Enable a structure that has been previously disabled. Use the ENABLE function to indicate that the CA Datacom Datadictionary definition is available for use by other CA products. When you DISABLE or ENABLE a primary structure (file) or substructure (record), CA Datacom Datadictionary also disables or enables its substructures. When you DISABLE or ENABLE a secondary structure (dataview), CA Datacom Datadictionary does not disable or enable its substructures.

How to Use the DISABLE Function

Use the DISABLE function to mark a structure or substructure as being unavailable for use by other CA products.

Use one of the following procedures to perform this function:

If there are no errors, you receive the FILE Structure Maintenance Menu with a message confirming successful execution of the function.

How to Use the ENABLE Function

Use the ENABLE function to indicate that the definition is available for use by other CA products. This function enables the CA Datacom Datadictionary definition. Therefore, you can enable a structure or substructure that is not synchronized with the data, but this can cause unpredictable results.

Use one of the following procedures to perform this function:

If there are no errors, you receive the FILE Structure Maintenance Menu with a message confirming successful execution of the function.