Previous Topic: More InformationNext Topic: Creating the Model in Batch Mode


Creating a Model

You create a model library by entering the YCRTMDLLIB command and its required parameter, MDLLIB, followed by any optional parameters for model values you want to set explicitly. If you do not set a model value explicitly, the system uses the default parameter value to create the model library.

For example, to create a model (INVMDL) for an inventory control system that uses SQL to define CA 2E access paths and explicitly defines the descriptive text for the model, the object prefix, and the values list prefix:

  1. Enter the command with the appropriate parameters:
    YCRTMDLLIB  MDLLIB(INVMDL) +
       GENLIB(INVGEN) SQLLIB(INVSQL) + 
       SYSTEXT(inventory-control-system) +
       OBJPFX(IN)  VLSPFX(IN)  DBFGEN(*SQL)
    

    This example includes the following optional parameters:

  2. When you complete the parameters, execute the command by pressing Enter.CA 2E builds the model library using the parameters you specified. When the command finishes, the panel displays the following message:

    Model library (INVMDL) created