YDOCURF (Document Unreferenced Objects) Command

This command provides a model list of model objects that are unreferenced in the model.
ca2e87
This command provides a model list of model objects that are unreferenced in the model.
A model object that is identified by the YDOCURF command as unreferenced within a model may be referenced from outside the model by menus, messages, user defined programs, and so on.
Contents
Optional
YDOCURF-Optional (153) YDOCURF-Optional (155) YDOCURF-Optional (156) YDOCURF-Optional (157)
Parameters
The following are parameters for the YDOCURF command.
MDLLIB
The name of the model library whose objects are to be analyzed. Values for these parameters are as follows:
  • *MDDLIB
    -- (default) Special value meaning that the first model library found in the user’s current library list is used as the model library.
  • library name
    -- The name of a specific model library.
OBJTYP
A list of up to six special values that may be used to select which object types should be analyzed by the command. Values for these parameters are as follows:
  • *ANY
    -- (default) Special value meaning that any object type should be included in the analysis.
  • *ACP
    -- Include access paths in the analysis.
  • *ARR
    -- Include arrays in the analysis.
  • *CND
    -- Include conditions in the analysis.
  • *FIL
    -- Include files in the analysis.
  • *FLD
    -- Include fields in the analysis.
  • *FUN
    -- Include functions in the analysis.
  • *MSG
    -- Include messages in the analysis.
OUTLST
The name of the model object list that receives output from the command. Values for these parameters are as follows:
  • *NONE
    -- (default) Special value meaning that no outlist processing is to be performed.
  • list name
    -- The name of the model object list to be used as output.
OUTLSTOPT
Specifies the action to take if the output list already exists. Values for these parameters are as follows:
  • *REPLACE
    -- (default) The existing model object list should be replaced with the output from this command.
  • *ADD
    -- The existing model object list should be augmented with the output from this command.
Example
To create a list of unreferenced functions in the current model library in model object list, UNREFFUN.
YDOCURF OBJTYP(*FUN) OUTLST(UNREFFUN)