

Generating and Compiling Your Application › Generating and Compiling After Changes › Model Object Usages
Model Object Usages
The CA 2E Where Used facilities within your CA 2E model tell you where a model object is used. You can work with model usages as follows:
- From the Edit Model Object List panel, enter option 91 for a specific model object or press F20 to display the Display Model Usages panel for the model object list you are editing.
- Enter the Display Model Usages (YDSPMDLUSG) command at a command line.
- Enter U against an object where this option is available to display level 1 usages.
In each case, the Display Model Usages panel displays. This panel provides a variety of controls and filters including recursion, scope, and positioning to aid you in analyzing the effect of an actual or proposed change.
When you request usages for a model object,CA 2E displays a list of model objects that use it. Following are examples of model usages according to model object type:
- Physical (PHY) access path type—All references to the access path by other non-physical (built over or joined to) access paths
- Other access path types—Physical access path(s) to which the access path refers
- Function—All functions that reference the function
- Field—Files, functions, and other fields that refer to the field
- Condition—In an access path to specify selection criteria, in an action diagram, for a field to control the validation and default values
- File—Owning file and application area
- Array—All functions based on the array or using it for parameter definition
For more information on model usages by model object type, refer to the YDSPMDLUSG section of the CA 2E Command Reference Guide.
From the Display Model Usages panel you can request generation/compilation of any of the listed items. You can also edit details such as access path attributes for access paths or action diagrams for functions.
For example, to find out which access paths are dependent on the physical file access path of a specific file in a database:
- From Edit File Details for the file, enter U against the PHY access path. The Display Model Usages panel displays, listing:
- Access paths built directly over the specified file
- Any access path with file-to-file relations to the specified file that result in a join
- Find where the listed access paths are used. Enter 91 against each access path.
- Find the functions that use an access path. Enter F against each access path. The Display Model Usages panel displays.
Copyright © 2014 CA.
All rights reserved.
 
|
|