YDOCMDLLST (Document a Model Object List) Command

This command allows a user to print the entries contained in a model object list.
ca2e87
This command allows a user to print the entries contained in a model object list.
Contents
Required
YDOCMDLLST Required (41) YDOCMDLLST-Required (42) YDOCMDLLST-Required (43) YDOCMDLLST-Required (44)
Parameters
The following are parameters for the YDOCMDLLST command.
MDLLST
The qualified name of the model object list that is documented. Values for these parameters are as follows:
  • *MDLPRF
    -- (default) Special value meaning that the model object list name is retrieved from the user profile extension record for the current user in the specified model library.
  • *USER
    -- Special value meaning that the user profile name of the current user is used as the list name for the target of the command.
  • *SELECT
    -- Special value indicating that the model object list is selected using an interactive display function.
  • list name
    -- The model object list name must be entered.
  • *MDLLIB
    -- (default) Special value meaning that the first model library found in the user's current library list is used as the model library for the list.
  • library name
    -- The model library name for the list.
VIEW
This parameter enables different data to be displayed for each list entry. It is prompted only if the DETAIL parameter is set to *BASIC. Values for these parameters are as follows:
  • *NAME
    -- (default) Details are printed of the object name, attribute, type, and owner.
  • *CHANGE
    -- In addition to name, the change date and time details are printed.
  • *CHECKOUT
    -- In addition to name, the check out details are printed.
  • *COMPCHG
    -- In addition to name, the component change details are printed.
  • *CPYSTS
    -- In addition to name, the details relating to the copying of the object by the Copy Model Objects (YCPYMDLOBJ) command are printed.
  • *GEN
    -- In addition to name, the generation details are printed.
DETAIL
The level of detail which is displayed. Values for these parameters are as follows:
  • *BASIC
    -- (default) Minimal level of detail.
  • *FULL
    -- Maximum level of detail.
Notes
The MDLLST must exist before running the command.
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 changed back after execution.
Example
To document the model object list with the name retrieved from the user profile extension record of the current user in the model library contained in the current library list:
YDOCMDLLST MDLLST( *MDLLIB/*MDLPRF )