The DELETE verb disassociates component entities from systems and deletes system and component entities from the data dictionary. Deletions of component entities from a system are not reflected in the executable form of the system until the next successful GENERATE statement for that system.
How the Compiler Handles a DELETE Action
The system generation compiler responds to DELETE requests, as follows:
To delete source records for component entities that no longer participate in any systems (as a result of DELETE SYSTEM requests), you can use the IDD DDDL compiler.
Note: For more information about using the DDDL compiler to delete entities, see the CA IDMS IDD DDDL Reference Guide.
Note: The system generation compiler deletes source records only for entities created through the system generation compiler. You must use the IDD DDDL compiler to delete entities created through the DDDL compiler.
The following table illustrates system generation compiler actions in response to DELETE requests.
|
Statements |
Compiler Actions |
|---|---|
|
|
Status before deletions. |
|
DELETE SYSTEM 20. |
Deletes source and object records for system 20 and object records connecting tasks X, Y, and Z to system 20. |
|
MODIFY SYSTEM 30. DELETE TASK X. |
Sets system 30 current. Places delete flag (D) on object record connecting task X to system 30. |
|
MODIFY SYSTEM 40. DELETE TASK X. |
Sets system 40 current. Places delete flag (D) on object record connecting task X to system 40. |
|
DELETE TASK Y. (system 40 current) |
Places delete flag (D) on object record connecting task Y to system 40. |
|
GENERATE. (system 40 current) |
Deletes object records connecting tasks X and Y to system 40. Copies information from source record for system 40 to object record for system 40. |
|
MODIFY SYSTEM 30. GENERATE. |
Sets system 30 current. Deletes object record connecting task X to system 30 and source record for task X. Copies information from source record for system 30 to object record for system 30. |
|
Copyright © 2014 CA.
All rights reserved.
|
|