YINXMDLLST (Index a Model List) Command

This command checks for the existence of a model object list and its accompanying logical file members. If the list does not exist, it is created during processing.
ca2e87
This command checks for the existence of a model object list and its accompanying logical file members. If the list does not exist, it is created during processing.
The command is mainly intended for use internally by Synon/2E, but should be used by developers if an empty list is required for user-defined processing.
Contents
Required
YINXMDLLST-Required YINXMDLLST-Required YINXMDLLST-Required YINXMDLLST-Required
Parameters
The following are parameters for the YINXMDLLST command.
MDLLST
The qualified model list name that is created, or whose indexes are checked. Values for these parameters are as follows:
  • model list name
    -- (default) The list name must be entered.
  • *MDLLIB/
    -- The library, in which the model list file to be checked exists, is the first model library found in the current job's library.
  • *LIBL/
    -- The library list is searched to find the first model library.
  • model library name
    -- The model library name.
 
LSTLF
The name of the logical file that is checked. Values for these parameters are as follows:
  • YMDLLST00L
    -- (default) The member in file YMDLLST00L is checked for existence. If it does not exist, it is created.
  • YMDLLST01L - 11L
    -- Processed as for YMDLLST00L.
  • *ALL
    -- Single value indicating that all logical files are checked. A new logical file member is added to any file that does not already have one for the specified model list.
TEXT
Up to fifty characters can be entered to describe the list. This is stored as member text for the particular list member specified. Values for these parameters are as follows:
  • *DFT
    -- (default) A formatted string is used. It contains the model, list and current user id.
  • *NONE
    -- No text is specified.
  • character string
    -- The text can be entered.
Notes
For user-defined processing, it is recommended that when creating a new list, the minimum indexes to be checked using this command is YMDLLST00L. This ensures the integrity of the list, since this member is uniquely keyed on the primary key of the file, the object surrogate number.
Example
To check for the existence of list TSTLST, and to check/create the YMDLLST00L and YMDLLST06L indexes, enter the following command:
YINXMDLLST MDLLST( TSTLST ) LSTLF +
 ( YMDLLST00L YMDLLST06L ) TEXT( 'Test list.' )