Generating a Module from a Model [ VIRTUOSO CODE GENERATOR Reference Manual ] MPE/iX 5.0 Documentation
VIRTUOSO CODE GENERATOR Reference Manual
Generating a Module from a Model
Here is an example of a :RUN command which will generate the module
READCUST using the model described in the previous section:
:RUN VIRTUOSO.PUB.SYS;INFO="S=DA P=PASS STAT=TEST MODULE=READCUST"
Note that the module name (READCUST) is passed to the model via the INFO
string. The module name is required by this model; if it is not passed
at run time, the module cannot be generated. The module name is passed
in the INFO string to give the model a starting point in the System
Dictionary. The model uses this name to retrieve the remaining specific
information about the module from the dictionary.
When debugging a model, remember that any changes must be made to the
model and not in the generated code. Occasionally a change to a macro
may be necessary as well as revisions to the model. Then the macro must
be reprocessed before using the revised version with the model. Refer to
Chapter 4 for more information on using macros and to Chapter 5 for more
information on Source Macro File processing.
MPE/iX 5.0 Documentation