Using distributed models
To create objects from distributed models
- On the TDEFBS view, either add a new object definition base or select an existing object definition base.
- Select the distributed model to place into the definition base
You can do this by entering the DM line command against an object definition base from the TDEFBS view. Issuing the command displays the TMDLDIST view.
The TMDLDIST view lists all of the distributed models. You can choose all or some of the models.
- You can use the Select line command to see how the distributed model is defined.
- Issue the TAG line command against each distributed model that you want in the definition base.
Or you can issue the TAGALL primary command to include all of the distributed models in the definition base.
Repeat until you have tagged all of the distributed models you want.
- After you have tagged the distributed models, issue the ADD primary command to have TOM add the models to the object definition base.
Now the distributed models are in the selected definition base. You can exit the TMDLDIST view.
- To use the models, go to the TOBJ view and edit an object in the definition base or add a new object.
Once in the object add/edit dialog, the General Object Information panel allows you to assign a model object. Select the appropriated distributed model and then finish customizing the object definition for the system (set dependencies, specify pre and post automation, and so on).
For example, to define the JES2 object in the definition base containing the distributed models just supply the object name and choose the distributed model named
bmc.model.JES2. If the model does not meet all of the needs for the object (such as differences in dependencies or commands or start or stop event text IDs) then you can edit the object to make the changes. Changes made to the object definition will always take precedence over the specified model.
- Save the object's definition in the definition base.
Repeat steps 6 and 7 until you have made all of the needed additions and updates to the objects in the definition base to take advantage of the distributed models that you added in step 4.