Commands (YDOCMDLACP - YOPRMDLLST) › YDSPMDLUSG (Display Model Usages) Command › Notes
Notes
- The model library specified must be a valid model library.
- A value other than *MDLLIB for MDLLST may result in the library list being changed. If the user is currently editing a model, the switching of the library list will not occur and the command will fail. If changed during processing, the library list is not changed back after execution.
- If the output model list does not exist prior to running the command, it is created.
- If the list is to be printed, the display model object references panel is used. This panel is described below.
- If the resulting list is to be printed, the Document Model Object list command (YDOCMDLLST) is called.
- The edit parameters are ignored if the running job is a batch job.
- The scope parameter will limit the expansion. This will normally be useful to prevent unnecessary objects from being included in the analysis. Note that a scoped expansion means that an expansion will need to be repeated if additional objects are to be included.
- The filtering parameter is applied to the expanded details. Thus, if the output is to display, the filtering may be adjusted without having to rebuild the expansion. If output is to a model list, the filtering is performed when the entries are written to the list.
- An indented output format is used for the *PRINT option whenever this is appropriate. If the default of *FIRST is used for the REASON filter, the objects are sorted in a keyed sequence. It would be inappropriate to indent this sequence because the relationships between the objects are purely arbitrary. However, any other value for REASON will cause the processing program to examine objects strictly in the order of expansion; the indented format here clearly shows the hierarchy of dependencies to assist developers.