Previous Topic: Checking a CA 2E ModelNext Topic: Prompting the YCLRMDL Command


Clearing a CA 2E Model

The Clear Model (YCLRMDL) command drops all user‑defined data in the specified model library. You can also clear the generation library and, if it exists, the SQL collection of user objects.

The YCLRMDL command is often used during training to allow new users to create and use a model and then clear it to use for production.

To clear a model library and its generation library, enter the following and press Enter:

YCLRMDL  MDLLIB(model-library-name) + GENLIB(generation-library-name)

As CA 2E clears the model, messages display. When the process is complete, CA 2E sends the following message:

Model library (model-library-name) for (model) has been cleared.